From 9cedd1a6ad508a60411968315995dcf71f5d3ac2 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 8 May 2005 14:46:52 +0000 Subject: [PATCH] * target.h (target_link): Remove prototype. * target.c (target_link): Remove function. * symfile.c: Remove comment about rombug. --- gdb/ChangeLog | 6 ++++++ gdb/symfile.c | 4 ---- gdb/target.c | 13 ------------- gdb/target.h | 2 -- 4 files changed, 6 insertions(+), 19 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6ac930c115..b022cbfcad 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2005-05-08 Mark Kettenis + + * target.h (target_link): Remove prototype. + * target.c (target_link): Remove function. + * symfile.c: Remove comment about rombug. + 2005-05-04 Mark Kettenis * config/i386/cygwin.mh (XM_FILE): Remove variable. diff --git a/gdb/symfile.c b/gdb/symfile.c index 89878bcbcf..87709437c8 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -1165,10 +1165,6 @@ find_separate_debug_file (struct objfile *objfile) used in GDB (perhaps "set mapped on", "set readnow on" would be better), (3) the order of options matters, which is contrary to GNU conventions (because it is confusing and inconvenient). */ -/* Note: ezannoni 2000-04-17. This function used to have support for - rombug (see remote-os9k.c). It consisted of a call to target_link() - (target.c) to get the address of the text segment from the target, - and pass that to symbol_file_add(). This is no longer supported. */ void symbol_file_command (char *args, int from_tty) diff --git a/gdb/target.c b/gdb/target.c index f3a971351b..799ca09d93 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -1496,19 +1496,6 @@ target_disconnect (char *args, int from_tty) (current_target.to_disconnect) (args, from_tty); } -void -target_link (char *modname, CORE_ADDR *t_reloc) -{ - if (DEPRECATED_STREQ (current_target.to_shortname, "rombug")) - { - (current_target.to_lookup_symbol) (modname, t_reloc); - if (*t_reloc == 0) - error (_("Unable to link to %s and get relocation in rombug"), modname); - } - else - *t_reloc = (CORE_ADDR) -1; -} - int target_async_mask (int mask) { diff --git a/gdb/target.h b/gdb/target.h index 0e45d042dd..e5f5c7fe12 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -904,8 +904,6 @@ extern void target_load (char *arg, int from_tty); extern int target_async_mask (int mask); -extern void target_link (char *, CORE_ADDR *); - /* Converts a process id to a string. Usually, the string just contains `process xyz', but on some systems it may contain `process xyz thread abc'. */ -- 2.34.1