aboutsummaryrefslogtreecommitdiff
path: root/gdb/monitor.h
diff options
context:
space:
mode:
authorRob Savoye <rob@cygnus>1994-11-15 08:13:05 +0000
committerRob Savoye <rob@cygnus>1994-11-15 08:13:05 +0000
commitb3b8d9bfa7698d61d2831bfbe9fa41b487e03a45 (patch)
tree318ee47b20f8aa8546da0f39468807f6016b25d8 /gdb/monitor.h
parentf08a8281d396236152395e6b9ebde017d4a024a0 (diff)
downloadgdb-b3b8d9bfa7698d61d2831bfbe9fa41b487e03a45.zip
gdb-b3b8d9bfa7698d61d2831bfbe9fa41b487e03a45.tar.gz
gdb-b3b8d9bfa7698d61d2831bfbe9fa41b487e03a45.tar.bz2
* op50-rom.c, w89k-rom.c, monitor.c: Modify to use two variables
to set remote load type and protocol. * rom68k-rom.c: Add to_stop in target_ops.
Diffstat (limited to 'gdb/monitor.h')
-rw-r--r--gdb/monitor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/monitor.h b/gdb/monitor.h
index 6e3758f..f3aff8c 100644
--- a/gdb/monitor.h
+++ b/gdb/monitor.h
@@ -47,6 +47,7 @@ struct monitor_ops {
char *cmd_end; /* optional command terminator */
struct target_ops *target; /* target operations */
char *loadtypes; /* the load types that are supported */
+ char *loadprotos; /* the load protocols that are supported */
char **regnames; /* array of register names in ascii */
};
@@ -54,6 +55,7 @@ extern struct monitor_ops *current_monitor;
#define PROTO_TYPE (current_monitor->type)
#define LOADTYPES (current_monitor->loadtypes)
+#define LOADPROTOS (current_monitor->loadprotos)
#define INIT_CMD (current_monitor->init)
#define GO_CMD (current_monitor->execute)
#define CONT_CMD (current_monitor->resume)