diff options
Diffstat (limited to 'gdb/monitor.h')
-rw-r--r-- | gdb/monitor.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/monitor.h b/gdb/monitor.h index 2a5bcb7..b3d514f 100644 --- a/gdb/monitor.h +++ b/gdb/monitor.h @@ -100,10 +100,11 @@ struct monitor_ops GDB with the value of a register. */ char *dump_registers; /* Command to dump all regs at once */ char *register_pattern; /* Pattern that picks out register from reg dump */ - void (*supply_register) (char *name, int namelen, char *val, int vallen); + void (*supply_register) (struct regcache *regcache, char *name, + int namelen, char *val, int vallen); void (*load_routine) (struct serial *desc, char *file, int hashmark); /* Download routine */ - int (*dumpregs) (void); /* routine to dump all registers */ + int (*dumpregs) (struct regcache *); /* Dump all registers */ int (*continue_hook) (void); /* Emit the continue command */ int (*wait_filter) (char *buf, /* Maybe contains registers */ int bufmax, @@ -242,7 +243,8 @@ struct monitor_ops extern void monitor_open (char *args, struct monitor_ops *ops, int from_tty); extern void monitor_close (int quitting); -extern char *monitor_supply_register (int regno, char *valstr); +extern char *monitor_supply_register (struct regcache *regcache, + int regno, char *valstr); extern int monitor_expect (char *prompt, char *buf, int buflen); extern int monitor_expect_prompt (char *buf, int buflen); /* Note: The variable argument functions monitor_printf and @@ -255,6 +257,6 @@ extern void monitor_write (char *buf, int buflen); extern int monitor_readchar (void); extern char *monitor_get_dev_name (void); extern void init_monitor_ops (struct target_ops *); -extern int monitor_dump_reg_block (char *dump_cmd); +extern int monitor_dump_reg_block (struct regcache *regcache, char *dump_cmd); #endif |