]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* 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 6ac930c1159af9f8f9aae421295b462ada5bea8a..b022cbfcadd8f50336433f7f530ca37769804fb2 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 89878bcbcf71cd60ca32d383460325b4eb35805f..87709437c8ec8233a9ac507bbc17519c4ee445c2 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 f3a971351b1fd83c916b9311ef4af7e91e07b749..799ca09d93cf483553b8b14492f5dfb9d16b243d 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 0e45d042dd50336033289066c1428f3bdd5fcf4a..e5f5c7fe12325157c82f9487442959cb2507d35b 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'.  */