aboutsummaryrefslogtreecommitdiff
path: root/gdb/m32r-rom.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-02-19 19:41:28 +0000
committerPedro Alves <palves@redhat.com>2013-02-19 19:41:28 +0000
commit61a672f17d6544eb69a59aaed93c9eafdba74613 (patch)
tree4aefdffca1157d6b400298c9f53a6f6560d557af /gdb/m32r-rom.c
parent40e397df34d493fc1e3455316af74d4d983dd80b (diff)
downloadgdb-61a672f17d6544eb69a59aaed93c9eafdba74613.zip
gdb-61a672f17d6544eb69a59aaed93c9eafdba74613.tar.gz
gdb-61a672f17d6544eb69a59aaed93c9eafdba74613.tar.bz2
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/m32r-rom.c')
-rw-r--r--gdb/m32r-rom.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/m32r-rom.c b/gdb/m32r-rom.c
index 8c547ed..bf1af5c 100644
--- a/gdb/m32r-rom.c
+++ b/gdb/m32r-rom.c
@@ -348,7 +348,6 @@ init_m32r_cmds (void)
/* register_pattern */
m32r_cmds.register_pattern = "\\(\\w+\\) += \\([0-9a-fA-F]+\\b\\)";
m32r_cmds.supply_register = m32r_supply_register;
- m32r_cmds.load_routine = NULL; /* load_routine (defaults to SRECs) */
m32r_cmds.load = NULL; /* download command */
m32r_cmds.loadresp = NULL; /* load response */
m32r_cmds.prompt = "ok "; /* monitor command prompt */
@@ -409,7 +408,6 @@ init_mon2000_cmds (void)
/* register_pattern */
mon2000_cmds.register_pattern = "\\(\\w+\\) += \\([0-9a-fA-F]+\\b\\)";
mon2000_cmds.supply_register = m32r_supply_register;
- mon2000_cmds.load_routine = NULL; /* load_routine (defaults to SRECs) */
mon2000_cmds.load = NULL; /* download command */
mon2000_cmds.loadresp = NULL; /* load response */
mon2000_cmds.prompt = "Mon2000>"; /* monitor command prompt */