Garbage collect struct monitor_ops::load_routine.
authorPedro Alves <palves@redhat.com>
Tue, 19 Feb 2013 19:41:28 +0000 (19:41 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 19 Feb 2013 19:41:28 +0000 (19:41 +0000)
commit61a672f17d6544eb69a59aaed93c9eafdba74613
tree4aefdffca1157d6b400298c9f53a6f6560d557af
parent40e397df34d493fc1e3455316af74d4d983dd80b
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'.
gdb/ChangeLog
gdb/dbug-rom.c
gdb/m32r-rom.c
gdb/monitor.c
gdb/monitor.h
gdb/ppcbug-rom.c