From 339cddf717d3db8d865fba90584cb0e1110a6b60 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Tue, 12 Aug 1997 02:34:14 +0000 Subject: * 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. --- gdb/monitor.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gdb/monitor.h') diff --git a/gdb/monitor.h b/gdb/monitor.h index 7847174..33ef9a9 100644 --- a/gdb/monitor.h +++ b/gdb/monitor.h @@ -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, -- cgit v1.1