aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/target.c b/gdb/target.c
index 038ca0d..456fffd 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -710,6 +710,19 @@ target_detach (args, from_tty)
(current_target->to_detach) (args, from_tty);
}
+void
+target_link (modname, t_reloc)
+ char *modname;
+ CORE_ADDR *t_reloc;
+{
+ if (STREQ(current_target->to_shortname, "rombug"))
+ {
+ (current_target->to_lookup_symbol) (modname, t_reloc);
+ }
+ else
+ *t_reloc = (CORE_ADDR)-1;
+}
+
/* Look through the list of possible targets for a target that can
execute a run or attach command without any other data. This is
used to locate the default process stratum.