summaryrefslogtreecommitdiff
path: root/gdb/ppcbug-rom.c
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/ppcbug-rom.c
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/ppcbug-rom.c')
-rw-r--r--gdb/ppcbug-rom.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/ppcbug-rom.c b/gdb/ppcbug-rom.c
index dde34bbfca0..859467eb11d 100644
--- a/gdb/ppcbug-rom.c
+++ b/gdb/ppcbug-rom.c
@@ -168,7 +168,6 @@ init_ppc_cmds (char *LOAD_CMD,
OPS->register_pattern = "\\(\\w+\\) +=\\([0-9a-fA-F]+\\b\\)";
OPS->supply_register = ppcbug_supply_register;
OPS->dump_registers = "rd\r"; /* dump all registers */
- OPS->load_routine = NULL; /* load_routine (defaults to SRECs) */
OPS->load = LOAD_CMD; /* download command */
OPS->loadresp = NULL; /* load response */
OPS->prompt = "PPC1-Bug>"; /* monitor command prompt */