aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-02-22 03:01:27 +0000
committerKevin Buettner <kevinb@redhat.com>2001-02-22 03:01:27 +0000
commitd7fa2ae2549091f294e6dd103a57ddf1219dfe6c (patch)
treef28343094d9deb829390fe4468891a1f17aac86e /gdb/solib.c
parent33d01f331b0673ed67fa8a71c9cb90f7d35d16b7 (diff)
downloadgdb-d7fa2ae2549091f294e6dd103a57ddf1219dfe6c.zip
gdb-d7fa2ae2549091f294e6dd103a57ddf1219dfe6c.tar.gz
gdb-d7fa2ae2549091f294e6dd103a57ddf1219dfe6c.tar.bz2
Made changes to shared library support and added more of the support needed
for AIX/IA-64.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 07d72ec..291ac33 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -765,6 +765,27 @@ solib_create_inferior_hook (void)
TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK ();
}
+/* GLOBAL FUNCTION
+
+ in_solib_dynsym_resolve_code -- check to see if an address is in
+ dynamic loader's dynamic symbol
+ resolution code
+
+ SYNOPSIS
+
+ int in_solib_dynsym_resolve_code (CORE_ADDR pc)
+
+ DESCRIPTION
+
+ Determine if PC is in the dynamic linker's symbol resolution
+ code. Return 1 if so, 0 otherwise.
+*/
+
+int
+in_solib_dynsym_resolve_code (CORE_ADDR pc)
+{
+ return TARGET_SO_IN_DYNSYM_RESOLVE_CODE (pc);
+}
/*