aboutsummaryrefslogtreecommitdiff
path: root/gdb/monitor.c
AgeCommit message (Collapse)AuthorFilesLines
1995-05-18 * utils.c (fprintf_filtered, fprintf_unfiltered, fprintfi_filtered,J.T. Conklin1-4/+22
printf_filtered, printf_unfiltered, printfi_filtered, query, warning, error, fatal, fatal_dump_core): Use stdarg.h macros when compiling with an ANSI compiler. * complain.c (complain): Likewise. * language.c (type_error, range_error): Likewise. * monitor.c (monitor_printf, monitor_printf_noecho): Likewise. * remote-array.c (printf_monitor, debuglogs): Likewise. * remote-mips.c (mips_error): Likewise. * remote-os9k.c (printf_monitor): Likewise. * remote-st.c (printf_stdebug): Likewise. * gdbtk.c (gdbtk_query): Likewise. * defs.h, complain.h, language.h, monitor.h: Add prototypes to match above changes. * printcmd.c: Remove uneeded #include <varargs.h>. * remote-e7000.c: Likewise. * f-typeprint.c (f_type_print_base): Fix typo found by above changes.
1995-05-17* monitor.c (monitor_printf): Changed format specification inJ.T. Conklin1-51/+288
error message to work with pre-ansi compilers. (monitor_load_srec): reduced length of s-records from 128 to 32 bytes so download is more reliable with the rom68k monitor. * rom68k-rom.c: Added trailing space to prompt string. * config/i386/xm-i386sco.h (HAVE_STRSTR): Removed. * config/i386/xm-go32.h, mswin/xm.h (SYS_SIGLIST_MISSING): Removed. * defs.h, config/{xm-lynx.h, xm-nbsd.h}, config/i386/{xm-i386bsd.h, xm-linux.h}, config/m68k/xm-hp300bsd.h, config/mips/xm-irix4.h, config/ns32k/xm-ns32km3.h, doc/gdbint.texinfo (PSIGNAL_IN_SIGNAL_H): Removed.
1995-05-04 * monitor.c (monitor_command): Don't use PROMPT until monitorStan Shebs1-383/+129
target is known to be open. (monitor_make_srec): Don't define size of hextab.
1995-03-30start-sanitize-gdbtkStu Grossman1-279/+433
* Makefile.in (gdbtk.o): Use X11_CFLAGS to provide alternate locations (per-host) for X11 include files. * config/pa/hppahpux.mh (XM_CLIBS): Add -L/usr/lib/X11R5 to force the use of R5 libs. (X11_CFLAGS): Add this to indicate the locs of the R5 include files. end-sanitize-gdbtk * monitor.c monitor.h remote-est.c rom68k-rom.c: Add start of support for interrupting target. * monitor.c (monitor_open): Send stop command before doing anything else. * (monitor_load_srec): Fix record size calculation to prevent end of segment from getting trashed. * rom68k-rom.c: Update to latest version of struct monitor_ops. * config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Fix byte-order problems. Makes DOS hosted function calling work. * sparclite/crt0.s: Define _start to make COFF happy. * testsuite/config/rom68k.exp (gdb_target_rom68k): Use $targetname, $serialport and $baud instead of hardwired variables. * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the target doesn't support signals.
1995-03-08 * monitor.c (monitor_load): Set PC to start address when doneStu Grossman1-0/+4
loading. * array-rom.c monitor.h rom68k-rom.c: Clean up target_ops. Remove ref to monitor_create_inferior.
1995-03-08 * monitor.c: More general cleanups. Add prototypes, removeStu Grossman1-138/+26
unused routines. Fix bug with wrong number of args to error().
1995-03-07 * Makefile.in: Add rules for monitor.o and rom68k-rom.o to makeStu Grossman1-1100/+359
Sun make (with VPATH) work... * monitor.c monitor.h rom68k-rom.c: Serious cleanup to make IDP (rom68k) target work right. * array-rom.c op50-rom.c w89k-rom.c: Partial updates to new monitor.c interface. More work needs to be done here. * config/m68k/tm-monitor.h: Change DECR_PC_AFTER_BREAK to 0 to match the IDP monitor. Also, set NUM_REGS to 18 cuz there's no floating-point for this card.
1995-02-28 * defs.h: define SWAP_TARGET_AND_HOST macro.Kung Hsu1-21/+8
* findvar.c, monitor.c, hppa-tdep.c: remove definition of SWAP_TARGET_AND_HOST.
1995-02-27 * monitor.c: General gcc -Wall lint cleanup and reformat.Stan Shebs1-912/+1022
(monitor_command): If no args, send an empty command.
1995-02-24 * monitor.c (monitor_load_ascii_srec): Add a one second sleepStu Grossman1-4/+5
after send LOAD_CMD to prevent loss of first S-record.
1995-02-09 * monitor.c: Fix so all the output shows up in the GUI commandRob Savoye1-21/+23
window.
1995-02-03 * array-rom.c: Remove the non GDB remote protocol config stuff.Rob Savoye1-67/+515
* monitor.c: All reading/writing functions for memory and registers work.
1994-12-30 * monitor.[ch], op50-rom.c, rom68k-rom.c, w89k-rom.c: Add supportRob Savoye1-19/+94
to monitor config structure for supported baud rates for a target and variable stop bits. * monitor.c (monitor_fetch_register): Store register values in big endian format on any host.
1994-12-21 * monitor.c: Now supports xmodem as a remoteloadprotocol.Rob Savoye1-4/+27
1994-11-18 * monitor.[ch], w89k-rom.c, op50n-rom.c, idp-rom.c: Add supportRob Savoye1-3/+15
for two variables used to control the load protocol and conversion type.
1994-11-15 * op50-rom.c, w89k-rom.c, monitor.c: Modify to use two variablesRob Savoye1-4/+45
to set remote load type and protocol. * rom68k-rom.c: Add to_stop in target_ops.
1994-11-10 * rom68k-rom.c: New file. Replaces the old remote-mon.c and usesRob Savoye1-154/+342
the new generic ROM interface in monitor.c. * config/m68k/monitor.mt: Use new ROM support. * monitor.c: Add support for xmodem download protocol.
1994-10-18 * monitor.c (set_loadtype_command): Fixed so it doesn't core dump.Rob Savoye1-44/+285
* monitor.c (monitor_load): check the load type and load the file accordingly. Default to gr_load_image(). * monitor.c (monitor_load_ascii_srec): Load an ascii file in srecord format by downloading to the monitor. * w89k-rom.c, op50n-rom.c: set supported load types.
1994-10-13Cleanup debugging messages.Rob Savoye1-34/+19
1994-10-12Cleanup debug logging, fix single stepping. WinBond works good!Rob Savoye1-88/+115
1994-10-12Breakpoints work, run works. Fixed "monitor" command.Rob Savoye1-53/+102
1994-10-11Writing to memory now works for both targets.Rob Savoye1-39/+54
1994-10-11Memory_reads_inferior() and monitor_fetch_registers() now work good onRob Savoye1-0/+988
both targets. On to the "set" functions...