Commit Graph

20 Commits

Author SHA1 Message Date
Stu Grossman
a706069fdb start-sanitize-gdbtk
* 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-30 01:47:32 +00:00
Stu Grossman
f17aed8ba3 * monitor.c (monitor_load): Set PC to start address when done
loading.

	* array-rom.c monitor.h rom68k-rom.c:  Clean up target_ops.
	Remove ref to monitor_create_inferior.
1995-03-08 01:18:08 +00:00
Stu Grossman
8f07823450 * monitor.c: More general cleanups. Add prototypes, remove
unused routines.  Fix bug with wrong number of args to error().
1995-03-08 00:06:55 +00:00
Stu Grossman
1265e2d823 * Makefile.in: Add rules for monitor.o and rom68k-rom.o to make
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-03-07 09:26:39 +00:00
Kung Hsu
326ae3e292 * defs.h: define SWAP_TARGET_AND_HOST macro.
* findvar.c, monitor.c, hppa-tdep.c: remove definition of
        SWAP_TARGET_AND_HOST.
1995-02-28 23:08:06 +00:00
Stan Shebs
431b7d5fff * monitor.c: General gcc -Wall lint cleanup and reformat.
(monitor_command): If no args, send an empty command.
1995-02-27 20:03:49 +00:00
Stu Grossman
82fc343234 * monitor.c (monitor_load_ascii_srec): Add a one second sleep
after send LOAD_CMD to prevent loss of first S-record.
1995-02-24 05:09:37 +00:00
Rob Savoye
151e7820c7 * monitor.c: Fix so all the output shows up in the GUI command
window.
1995-02-09 02:21:40 +00:00
Rob Savoye
1b552670ac * array-rom.c: Remove the non GDB remote protocol config stuff.
* monitor.c: All reading/writing functions for memory and
	registers work.
1995-02-03 02:08:08 +00:00
Rob Savoye
cf51c6017e * monitor.[ch], op50-rom.c, rom68k-rom.c, w89k-rom.c: Add support
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-30 01:26:37 +00:00
Rob Savoye
62b32254f3 * monitor.c: Now supports xmodem as a remoteloadprotocol. 1994-12-21 21:02:56 +00:00
Rob Savoye
3f9ef4ffe9 * monitor.[ch], w89k-rom.c, op50n-rom.c, idp-rom.c: Add support
for two variables used to control the load protocol and conversion
	type.
1994-11-18 06:38:23 +00:00
Rob Savoye
b3b8d9bfa7 * op50-rom.c, w89k-rom.c, monitor.c: Modify to use two variables
to set remote load type and protocol.
	* rom68k-rom.c: Add to_stop in target_ops.
1994-11-15 08:13:05 +00:00
Rob Savoye
06b8f5e406 * rom68k-rom.c: New file. Replaces the old remote-mon.c and uses
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-11-10 23:20:03 +00:00
Rob Savoye
21ed3dcdbe * monitor.c (set_loadtype_command): Fixed so it doesn't core dump.
* 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-18 00:55:51 +00:00
Rob Savoye
7a1330f700 Cleanup debugging messages. 1994-10-13 02:03:09 +00:00
Rob Savoye
e6fa5bd61d Cleanup debug logging, fix single stepping. WinBond works good! 1994-10-12 23:12:47 +00:00
Rob Savoye
7804e5bc7c Breakpoints work, run works. Fixed "monitor" command. 1994-10-12 03:34:08 +00:00
Rob Savoye
f1ca4cbc21 Writing to memory now works for both targets. 1994-10-11 22:12:30 +00:00
Rob Savoye
51d6a95404 Memory_reads_inferior() and monitor_fetch_registers() now work good on
both targets. On to the "set" functions...
1994-10-11 04:37:18 +00:00