aboutsummaryrefslogtreecommitdiff
path: root/gdb/dink32-rom.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-21 15:37:11 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-21 15:37:11 +0000
commit5a1efed76c634acc0c568727c4bcda0e296c89dd (patch)
treef315a31e8530656a2de79c77c07211a9e522bb91 /gdb/dink32-rom.c
parent28d39d1a3a0fa205e5223b183c3df93264865dc5 (diff)
downloadfsf-binutils-gdb-5a1efed76c634acc0c568727c4bcda0e296c89dd.zip
fsf-binutils-gdb-5a1efed76c634acc0c568727c4bcda0e296c89dd.tar.gz
fsf-binutils-gdb-5a1efed76c634acc0c568727c4bcda0e296c89dd.tar.bz2
2004-01-20 Andrew Cagney <cagney@redhat.com>
* ax-gdb.c (print_axs_value): Delete unused function. * jv-lang.c (java_lookup_type): Delete unused function. * cli/cli-dump.c (dump_filetype): Delete unused function. * remote-mips.c (remote_mips_insert_hw_breakpoint) (remote_mips_remove_hw_breakpoint): Delete unused functions. (mips_getstring): Delete unused function. (pmon_insert_breakpoint): Delete #if0ed function. (PMON_MAX_BP): Delete #if0ed MACRO. (mips_pmon_bp_info): Delete #if0ed variable. (pmon_remove_breakpoint): Delete #if0ed function. * monitor.c (monitor_write_even_block): Delete unused function. (monitor_write_memory_block): Delete #if0ed code. * dink32-rom.c (dink32_load): Delete unused function. (_initialize_dink32_rom): Delete #if0ed code. * d10v-tdep.c (d10v_daddr_p): Delete unused function.
Diffstat (limited to 'gdb/dink32-rom.c')
-rw-r--r--gdb/dink32-rom.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/dink32-rom.c b/gdb/dink32-rom.c
index 3b10c7c..4a68140 100644
--- a/gdb/dink32-rom.c
+++ b/gdb/dink32-rom.c
@@ -96,19 +96,6 @@ dink32_supply_register (char *regname, int regnamelen, char *val, int vallen)
monitor_supply_register (regno, val);
}
-static void
-dink32_load (struct monitor_ops *monops, char *filename, int from_tty)
-{
- generic_load (filename, from_tty);
-
- /* Finally, make the PC point at the start address */
- if (exec_bfd)
- write_pc (bfd_get_start_address (exec_bfd));
-
- inferior_ptid = null_ptid; /* No process now */
-}
-
-
/* This array of registers needs to match the indexes used by GDB. The
whole reason this exists is because the various ROM monitors use
different names than GDB does, and don't support all the registers
@@ -172,9 +159,6 @@ _initialize_dink32_rom (void)
/* S-record download, via "keyboard port". */
dink32_cmds.load = "dl -k\r";
dink32_cmds.loadresp = "Set Input Port : set to Keyboard Port\r";
-#if 0 /* slow load routine not needed if S-records work... */
- dink32_cmds.load_routine = dink32_load;
-#endif
dink32_cmds.prompt = "DINK32_603 >>";
dink32_cmds.line_term = "\r";
dink32_cmds.target = &dink32_ops;