From 4df4eb13c0177a1587ce86a8a87219c828809a92 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Tue, 19 Feb 2013 19:41:21 +0000 Subject: 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 Garbage collect 'struct monitor_ops'::load_routine. * monitor.h (struct monitor_ops) : 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/ppcbug-rom.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gdb/ppcbug-rom.c') 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 */ -- cgit v1.2.1