* 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.
This commit is contained in:
Rob Savoye
1994-10-15 01:45:59 +00:00
parent f10abb42eb
commit df3cf84a35
3 changed files with 126 additions and 59 deletions

View File

@ -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)