diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-07-10 21:06:34 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-07-10 21:06:34 +0000 |
commit | db47efd0aacaa5fe13dbb138ac1b5ce44b2c0a26 (patch) | |
tree | 21e66d994bee8307bfe6a70adfc1a272c98d1d27 /gdb/monitor.h | |
parent | 8e5c01747345b2eb02a20cbc03eb53122f026679 (diff) | |
download | gdb-db47efd0aacaa5fe13dbb138ac1b5ce44b2c0a26.tar.gz |
* remote-utils.h (struct serial): Declare as opaque. Remove
include of "serial.h".
* Makefile.in (remote_utils_h): Update.
* monitor.h (struct serial): Declare as opaque. Remove include of
"serial.h".
(struct monitor_ops): Replace serial_t with `struct serial *'.
* monitor.c (monitor_desc): Ditto.
Diffstat (limited to 'gdb/monitor.h')
-rw-r--r-- | gdb/monitor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/monitor.h b/gdb/monitor.h index b522bcb2149..afdc3b207e8 100644 --- a/gdb/monitor.h +++ b/gdb/monitor.h @@ -21,7 +21,7 @@ Boston, MA 02111-1307, USA. */ -#include "serial.h" +struct serial; /* This structure describes the strings necessary to give small command sequences to the monitor, and parse the response. @@ -97,7 +97,7 @@ struct monitor_ops char *dump_registers; /* Command to dump all regs at once */ char *register_pattern; /* Pattern that picks out register from reg dump */ void (*supply_register) (char *name, int namelen, char *val, int vallen); - void (*load_routine) (serial_t desc, char *file, + void (*load_routine) (struct serial *desc, char *file, int hashmark); /* Download routine */ int (*dumpregs) (void); /* routine to dump all registers */ int (*continue_hook) (void); /* Emit the continue command */ |