diff options
author | Pedro Alves <palves@redhat.com> | 2013-02-19 19:41:28 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-02-19 19:41:28 +0000 |
commit | 61a672f17d6544eb69a59aaed93c9eafdba74613 (patch) | |
tree | 4aefdffca1157d6b400298c9f53a6f6560d557af /gdb/ppcbug-rom.c | |
parent | 40e397df34d493fc1e3455316af74d4d983dd80b (diff) | |
download | gdb-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/ppcbug-rom.c')
-rw-r--r-- | gdb/ppcbug-rom.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/ppcbug-rom.c b/gdb/ppcbug-rom.c index dde34bb..859467e 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 */ |