mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 18:10:46 +00:00
* 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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user