aboutsummaryrefslogtreecommitdiff
path: root/gdb/monitor.h
diff options
context:
space:
mode:
authorRob Savoye <rob@cygnus>1994-10-15 01:45:59 +0000
committerRob Savoye <rob@cygnus>1994-10-15 01:45:59 +0000
commitdf3cf84a351b2ea91a4b175ca5a22346cd405469 (patch)
treee9c58935c256e6c0595a5cc54fbdf3b102f0a5fc /gdb/monitor.h
parentf10abb42ebd1104c13b17a13ff6363b4a31d7e6e (diff)
downloadgdb-df3cf84a351b2ea91a4b175ca5a22346cd405469.zip
gdb-df3cf84a351b2ea91a4b175ca5a22346cd405469.tar.gz
gdb-df3cf84a351b2ea91a4b175ca5a22346cd405469.tar.bz2
* monitor.h, remote-mon.c: Hack up to so the old ROM monitor
interface code still works with the new ROM monitor structures. Fake out a couple of fields.
Diffstat (limited to 'gdb/monitor.h')
-rw-r--r--gdb/monitor.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/monitor.h b/gdb/monitor.h
index aaaa495..6e3758f 100644
--- a/gdb/monitor.h
+++ b/gdb/monitor.h
@@ -78,6 +78,8 @@ extern struct monitor_ops *current_monitor;
#define push_monitor(x) current_monitor = x;
+#define SREC_SIZE 160
+
extern void debuglogs();
extern void monitor_open();
extern void monitor_close();
@@ -96,3 +98,13 @@ extern void monitor_kill();
extern void monitor_load();
extern void monitor_create_inferior();
extern void monitor_mourn_inferior();
+
+/*
+ * FIXME: These are to temporarily maintain compatability with the
+ * old monitor structure till remote-mon.c is fixed to work
+ * like the *-rom.c files.
+ */
+#define MEM_PROMPT (current_monitor->loadtypes)
+#define MEM_SET_CMD (current_monitor->setmem)
+#define MEM_DIS_CMD (current_monitor->getmem)
+#define REG_DELIM (current_monitor->regset.delim)