* target.h (target_link): Remove prototype.
authorMark Kettenis <kettenis@gnu.org>
Sun, 8 May 2005 14:46:52 +0000 (14:46 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 8 May 2005 14:46:52 +0000 (14:46 +0000)
* target.c (target_link): Remove function.
* symfile.c: Remove comment about rombug.

gdb/ChangeLog
gdb/symfile.c
gdb/target.c
gdb/target.h

index 6ac930c..b022cbf 100644 (file)
@@ -1,3 +1,9 @@
+2005-05-08  Mark Kettenis  <kettenis@gnu.org>
+
+       * target.h (target_link): Remove prototype.
+       * target.c (target_link): Remove function.
+       * symfile.c: Remove comment about rombug.
+
 2005-05-04  Mark Kettenis  <kettenis@gnu.org>
 
        * config/i386/cygwin.mh (XM_FILE): Remove variable.
index 89878bc..8770943 100644 (file)
@@ -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)
index f3a9713..799ca09 100644 (file)
@@ -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)
 {
index 0e45d04..e5f5c7f 100644 (file)
@@ -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'.  */