aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-05-08 14:46:52 +0000
committerMark Kettenis <kettenis@gnu.org>2005-05-08 14:46:52 +0000
commit9cedd1a6ad508a60411968315995dcf71f5d3ac2 (patch)
treec297fdd4942dbd472bc4fbc0bef8efc3f6bb837b /gdb
parentb43b5d5f768ed7a7a150d78c9fda0c194a11497d (diff)
downloadgdb-9cedd1a6ad508a60411968315995dcf71f5d3ac2.zip
gdb-9cedd1a6ad508a60411968315995dcf71f5d3ac2.tar.gz
gdb-9cedd1a6ad508a60411968315995dcf71f5d3ac2.tar.bz2
* target.h (target_link): Remove prototype.
* target.c (target_link): Remove function. * symfile.c: Remove comment about rombug.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/symfile.c4
-rw-r--r--gdb/target.c13
-rw-r--r--gdb/target.h2
4 files changed, 6 insertions, 19 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6ac930c..b022cbf 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 89878bc..8770943 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 f3a9713..799ca09 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 0e45d04..e5f5c7f 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'. */