aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1996-09-05 01:01:05 +0000
committerStu Grossman <grossman@cygnus>1996-09-05 01:01:05 +0000
commitd9951af428a55c7ecc156c3d8aa4ccea02b99745 (patch)
tree1d585a3eeaa800e0e2382cb2702c4208860539cb /gdb/serial.h
parent91f6cfead2e64e7ce0cf3b112ce2734f0e84790c (diff)
downloadgdb-d9951af428a55c7ecc156c3d8aa4ccea02b99745.zip
gdb-d9951af428a55c7ecc156c3d8aa4ccea02b99745.tar.gz
gdb-d9951af428a55c7ecc156c3d8aa4ccea02b99745.tar.bz2
* Makefile.in: Add mswin to SUBDIRS. Add rules for
mswin/libwingdb.a and remote-wiggler.o. * breakpoint.c (breakpoint_here_p): Clean up bp enabled test. * (breakpoint_inserted_here_p): New func, just like breakpoint_here_p, except it's honest. Honestly. * breakpoint.h: Proto for above. start-sanitize-gdbtk * configure configure.in: Add host *windows* to list of hosts that don't support GDBtk. end-sanitize-gdbtk * configure configure.in: Add mswin to configdirs if host is i[3456]86-*-windows. * core-aout.c (fetch_core_registers register_addr) gdbcore.h: Change all vars that can contain addresses to type CORE_ADDR. * findvar.c (supply_register): Allow val to be NULL. This means that regno is unsupported. * (read_pc read_pc_pid write_pc write_pc_pid): Make non-pid forms just call pid forms with inferior_pid so that there's only once place to hack PC's and such. * infrun.c (proceed): Don't skip breakpoints if user changed PC. * remote-wiggler.c: New file. Support for BDM interface from Macraigor Systems. * serial.c: Enhance serial logging capability. Add hex and octal output modes (set remotelogbase {hex|octal|ascii}. Also log breaks, timeouts, errors, and eofs. * serial.h: Redefine SERIAL_SEND_BREAK to go through a wrapper function so that we can log breaks. Don't export serial_logfile or serial_logfp. * top.c (execute_command): Don't test for serial_logfp here. Just call serial_log_comand, and let serial.c sort it out. * valops.c (value_of_variable): Don't attempt to establish frames for static and global variables. This makes things work a bit better if the stack or frame pointer is trashed. * config/m68k/monitor.mt (TDEPFILES): Add remote-wiggler.o. * config/m68k/tm-m68k.h: Define STACK_ALIGN. CPU32 can't hack misaligned stacks during function calls.
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index ca4639c..f1963d0 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -97,8 +97,9 @@ serial_t serial_fdopen PARAMS ((const int fd));
/* Send a break between 0.25 and 0.5 seconds long. */
-#define SERIAL_SEND_BREAK(SERIAL_T) \
- ((*(SERIAL_T)->ops->send_break) (SERIAL_T))
+extern int serial_send_break PARAMS ((serial_t scb));
+
+#define SERIAL_SEND_BREAK(SERIAL_T) serial_send_break (SERIAL_T)
/* Turn the port into raw mode. */
@@ -176,9 +177,6 @@ extern void serial_printf PARAMS ((serial_t desc, const char *, ...))
/* File in which to record the remote debugging session */
-extern char *serial_logfile;
-extern FILE *serial_logfp;
-
extern void serial_log_command PARAMS ((const char *));
#endif /* SERIAL_H */