aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/h8500
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1995-11-14 23:40:18 +0000
committerStu Grossman <grossman@cygnus>1995-11-14 23:40:18 +0000
commitee824ca663bb513ba3c2637e154b19f2ef373349 (patch)
treeba78f19846774cc47b96d7be926a5f05cf13638e /gdb/config/h8500
parent5c8ba01776c033aafffbfa0dc972cb29a22a5113 (diff)
downloadgdb-ee824ca663bb513ba3c2637e154b19f2ef373349.zip
gdb-ee824ca663bb513ba3c2637e154b19f2ef373349.tar.gz
gdb-ee824ca663bb513ba3c2637e154b19f2ef373349.tar.bz2
* monitor.c (monitor_load_srec monitor_make_srec): Move all
S-record download code into srec.c. * srec.c srec.h: New files. Contain S-record loading routines formerly in monitor.c. * serial.c serial.h: New routine just like fprintf, but uses serial_t instead of FILE *. * sh-tdep.c (frame_find_saved_regs init_extra_frame_info): Don't add four to saved pc (makes things match manual). Also, fix bug where we didn't get pc from stack frame correctly. * config/sh/tm-sh.h (SAVED_PC_AFTER_CALL): Don't add four to saved pc. Real hardware does this for you. * sh3-rom.c (sh3_load): New routine. Sets up for download then calls generic S-record loader. * config/h8300/h8300.mt, config/h8500/h8500.mt, config/m68k/monitor.mt, config/pa/hppapro.mt, config/sh/sh.mt: Add srec.o to TDEPFILES.
Diffstat (limited to 'gdb/config/h8500')
-rw-r--r--gdb/config/h8500/h8500.mt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/config/h8500/h8500.mt b/gdb/config/h8500/h8500.mt
index 711fdbe..6167761 100644
--- a/gdb/config/h8500/h8500.mt
+++ b/gdb/config/h8500/h8500.mt
@@ -1,5 +1,5 @@
# Target: H8500 with HMS monitor and H8 simulator
-TDEPFILES= h8500-tdep.o monitor.o remote-hms.o
+TDEPFILES= h8500-tdep.o monitor.o remote-hms.o srec.o
TM_FILE= tm-h8500.h
SIM_OBS = remote-sim.o