summaryrefslogtreecommitdiff
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
commit8b4258487bf511901cb98c22b5a745ef982c0b5e (patch)
tree153cf011abfdbae2be708e98a7dbc5bcff4e72d7 /gdb/solib.c
parent43e1c4bec5e6ae00906f14942ab1e25f4eaf818a (diff)
downloadgdb-8b4258487bf511901cb98c22b5a745ef982c0b5e.tar.gz
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 07d72ec121e..291ac3386a1 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);
+}
/*