* monitor.h: Add MO_GETMEM_NEEDS_RANGE flag.

* monitor.c (monitor_read_memory):  Use previously mentioned flag
	to send proper format memory examine commands to the w89k monitor.
	Also, try to handle bizarre format of memory dump...

	* op50-rom.c w89k-rom.c:  Update to new monitor.[ch] conventions.
This commit is contained in:
Stu Grossman
1995-04-03 21:03:27 +00:00
parent 4507de2d18
commit 3da4297eae
3 changed files with 141 additions and 196 deletions

View File

@@ -125,6 +125,7 @@ struct monitor_ops
#define MO_NEED_REGDUMP_AFTER_CONT 0x4 /* If set, then monitor doesn't auto-
matically supply register dump when
coming back after a continue. */
#define MO_GETMEM_NEEDS_RANGE 0x8 /* getmem needs start addr and end addr */
extern struct monitor_ops *current_monitor;