summaryrefslogtreecommitdiff
path: root/gdb/monitor.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-02-19 19:41:21 +0000
committerPedro Alves <palves@redhat.com>2013-02-19 19:41:21 +0000
commit4df4eb13c0177a1587ce86a8a87219c828809a92 (patch)
tree12a334161bf005b1c2d53b80ea09007861f89d18 /gdb/monitor.h
parent9b12f766243a75cb840330fa941715b38aa609e4 (diff)
downloadgdb-4df4eb13c0177a1587ce86a8a87219c828809a92.tar.gz
Garbage collect struct monitor_ops::load_routine.
While touching monitor_load in a previous patch, I noticed this method is no longer set to anything other than NULL in the tree, so we can remove it. Tested by building with --enable-targets=all. 2013-02-19 Pedro Alves <palves@redhat.com> Garbage collect 'struct monitor_ops'::load_routine. * monitor.h (struct monitor_ops) <load_routine>: Remove field. * monitor.c (monitor_load): No longer call current_monitor->load_routine. * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'. * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'. * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'.
Diffstat (limited to 'gdb/monitor.h')
-rw-r--r--gdb/monitor.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/monitor.h b/gdb/monitor.h
index 1f30c70224e..e7157290751 100644
--- a/gdb/monitor.h
+++ b/gdb/monitor.h
@@ -102,8 +102,6 @@ struct monitor_ops
from reg dump */
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) (struct regcache *); /* Dump all registers */
int (*continue_hook) (void); /* Emit the continue command */
int (*wait_filter) (char *buf, /* Maybe contains registers */