mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
ee824ca663
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.
7 lines
177 B
Mathematica
7 lines
177 B
Mathematica
# Target: H8500 with HMS monitor and H8 simulator
|
|
TDEPFILES= h8500-tdep.o monitor.o remote-hms.o srec.o
|
|
TM_FILE= tm-h8500.h
|
|
|
|
SIM_OBS = remote-sim.o
|
|
SIM = ../sim/h8500/compile.o
|