aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-utils.c
AgeCommit message (Collapse)AuthorFilesLines
1993-12-12 * ser-go32.c: Lint. (strncasecmp): Removed, now in libiberty.Steve Chamberlain1-5/+5
(go32_readchar): Special handling for faster polling. (async structure): Volatile. * h8300-tdep.c (print_register_hook): Allocate and use the right number bytes for the raw register. * h8500-tdep.c (regoff, frame_find_saved_reg, examine_prologue): deleted. (h8500_register_size, h8500_register_virtual_type, ): Use new way of counting registers. * remote-e7000.c (echo_index): deleted. (expect): Better handling of user interrupts. (expect_prompt): Remove never used log file support. (want, want_nopc): Add support for H8/300H. (fetch_regs_from_dump): Treat \r and \n as whitespace. (e7000_drain): Send an "end" command before waiting for output to stop. (e7000_wait): Cope with H8/300H, better handling of user interrupts. (why_stop, expect_n, sub2_from_pc): New function. * remote-utils.c (gr_load_image): call fflush and QUIT more regularly. * utils.c (notice_quit): New function for polling for user interrupts.
1993-11-15 * remote-utils.c, remote-utils.h (gr_load_image): New function toSteve Chamberlain1-2/+57
download to target.
1993-11-02Fix a couple typos introduced by recent checkinsStan Shebs1-2/+2
1993-11-01Change the stream argument to _filtered to GDB_FILE *.Thomas Lord1-7/+7
Change all references to stdout/stderr to gdb_stdout/gdb_stderr. Replace all calls to stdio output functions with calls to corresponding _unfiltered functions (`fprintf_unfiltered') Replaced calls to fopen for output to gdb_fopen. Added sufficient goo to utils.c and defs.h to make the above work. The net effect is that stdio output functions are only directly used in utils.c. Elsewhere, the _unfiltered and _filtered functions and GDB_FILE type are used. In the near future, GDB_FILE will stop being equivalant to FILE. The semantics of some commands has changed in a very subtle way: called in the right context, they may cause new occurences of prompt_for_continue() behavior. The testsuite doesn't notice anything like this, though. Please respect this change by not reintroducing stdio output dependencies in the main body of gdb code. All output from commands should go to a GDB_FILE. Target-specific code can still use stdio directly to communicate with targets.
1993-10-21 * Move "set remotebaud" from remote-utils.c to main.c to it appliesJim Kingdon1-8/+0
to remote.c as well.
1993-10-21 * main.c: Make baud_rate and remote_debug be global variables,Stu Grossman1-10/+1
remove #include "remote-utils.h". This makes it possible to build GDB without remote-utils.c. Also, move setting of remote_debug into main, so that all remote*.c files can use it (not just the serial line ones). And, make baud_rate be an int. * remote-udi.c: Change kiodebug to remote_debug. * remote-utils.c: Move setting of baud rate and debug into main.c. * remote-utils.h: Redefine sr_{get set}_debug and sr_{get set}_baud to use baud_rate and remote_debug globals for compatibility. * remote.c: Use remote_debug and baud_rate globals directly, instead of sr_ functions, so that we don't need to load remote-utils.c.
1993-09-21* remote.c, remote-utils.c: Use SERIAL_FLUSH_INPUT after opening it.Jim Kingdon1-0/+4
1993-09-14 * remote.c: Define remote_debug to 0 and #if 0 baud_rate. TemporaryJim Kingdon1-2/+4
hack so this file compiles again. * remote-utils.c (gr_multi_scan): Cast return value from alloca. (gr_multi_scan): #if 0 never-reached return(-1).
1993-09-13collect some remote things into remote-utilsK. Richard Pixley1-0/+648