* dink32-rom.c: New file, support for DINK32 monitor.

* Makefile.in (dink32-rom.o): Add build rule.
	* config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt
 	(TDEPFILES): Add dink32-rom.o.
	* monitor.h (MO_32_REGS_PAIRED, MO_SETREG_INTERACTIVE,
 	MO_SETMEM_INTERACTIVE, MO_GETMEM_16_BOUNDARY,
 	MO_CLR_BREAK_1_BASED): New monitor interface flags.
	* monitor.c: Use them.
	(monitor_store_register): Use setreg.term if defined.
	(monitor_insert_breakpoint, monitor_remove_breakpoint): Notice
	if set_break and clr_break fields are empty.
This commit is contained in:
Stan Shebs
1997-08-12 02:34:14 +00:00
parent 2549d2b385
commit 339cddf717
6 changed files with 258 additions and 21 deletions

View File

@@ -168,6 +168,27 @@ struct monitor_ops
#define MO_REGISTER_VALUE_FIRST 0x1000
/* If set, then the monitor displays registers as pairs. */
#define MO_32_REGS_PAIRED 0x2000
/* If set, then register setting happens interactively. */
#define MO_SETREG_INTERACTIVE 0x4000
/* If set, then memory setting happens interactively. */
#define MO_SETMEM_INTERACTIVE 0x8000
/* If set, then memory dumps are always on 16-byte boundaries, even
when less is desired. */
#define MO_GETMEM_16_BOUNDARY 0x10000
/* If set, then the monitor numbers its breakpoints starting from 1. */
#define MO_CLR_BREAK_1_BASED 0x20000
#define SREC_SIZE 160
extern void monitor_open PARAMS ((char *args, struct monitor_ops *ops,