diff options
author | Stu Grossman <grossman@cygnus> | 1995-11-14 23:24:10 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1995-11-14 23:24:10 +0000 |
commit | 5c8ba01776c033aafffbfa0dc972cb29a22a5113 (patch) | |
tree | a81b0a3291ff437ccc14c4e6889b60e31c4b2e10 /gdb/serial.h | |
parent | 1c1a4269dd2fc1e95de5cc070390425c8f8a3ed6 (diff) | |
download | fsf-binutils-gdb-5c8ba01776c033aafffbfa0dc972cb29a22a5113.zip fsf-binutils-gdb-5c8ba01776c033aafffbfa0dc972cb29a22a5113.tar.gz fsf-binutils-gdb-5c8ba01776c033aafffbfa0dc972cb29a22a5113.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/serial.h')
-rw-r--r-- | gdb/serial.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/serial.h b/gdb/serial.h index 60a6da3..2cf06f3 100644 --- a/gdb/serial.h +++ b/gdb/serial.h @@ -167,4 +167,7 @@ void serial_close PARAMS ((serial_t, int)); #define SERIAL_UN_FDOPEN(SERIAL_T) serial_close(SERIAL_T, 0) +extern void serial_printf PARAMS ((serial_t desc, const char *, ...)) + ATTR_FORMAT(printf, 2, 3); + #endif /* SERIAL_H */ |