aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye <rob@cygnus>1994-10-12 03:34:08 +0000
committerRob Savoye <rob@cygnus>1994-10-12 03:34:08 +0000
commit7804e5bc7cf0397875340152d1fc6a09086f0b4a (patch)
tree825ff6defd4a222cbfa460a266836b1f782e38c8 /gdb/monitor.h
parentupdating to match changes made to progressive/build-all.mk (diff)
downloadbinutils-gdb-7804e5bc7cf0397875340152d1fc6a09086f0b4a.tar.gz
binutils-gdb-7804e5bc7cf0397875340152d1fc6a09086f0b4a.tar.bz2
binutils-gdb-7804e5bc7cf0397875340152d1fc6a09086f0b4a.zip
Breakpoints work, run works. Fixed "monitor" command.
Diffstat (limited to 'gdb/monitor.h')
-rw-r--r--gdb/monitor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/monitor.h b/gdb/monitor.h
index 29751c15919..b3ed53219ae 100644
--- a/gdb/monitor.h
+++ b/gdb/monitor.h
@@ -36,6 +36,7 @@ struct monitor_ops {
char *step; /* single step */
char *set_break; /* set a breakpoint */
char *clr_break; /* clear a breakpoint */
+ int clr_type; /* number or address for clearing */
struct rom_cmd_data setmem; /* set memory to a value */
struct rom_cmd_data getmem; /* display memory */
struct rom_cmd_data regset; /* set a register */
@@ -59,6 +60,7 @@ extern struct monitor_ops *current_monitor;
#define STEP_CMD (current_monitor->step)
#define SET_BREAK_CMD (current_monitor->set_break)
#define CLR_BREAK_CMD (current_monitor->clr_break)
+#define CLR_BREAK_ADDR (current_monitor->clr_type)
#define SET_MEM (current_monitor->setmem)
#define GET_MEM (current_monitor->getmem)
#define LOAD_CMD (current_monitor->load)
@@ -79,6 +81,7 @@ extern struct monitor_ops *current_monitor;
extern void monitor_open();
extern void monitor_close();
extern void monitor_detach();
+extern void monitor_attach();
extern void monitor_resume();
extern int monitor_wait();
extern void monitor_fetch_register();