aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.h
diff options
context:
space:
mode:
authorDavid Taylor <taylor@redhat.com>1998-01-30 20:33:43 +0000
committerDavid Taylor <taylor@redhat.com>1998-01-30 20:33:43 +0000
commit7d0a3fc844cdaea1e8c164cefc35f912c11e845a (patch)
tree2bc52d5db8fe9e58a72b2d3be06cf1568be7ca3a /gdb/solib.h
parentcd9a4eec4909803230a07b939087e64a24cb5fee (diff)
downloadgdb-7d0a3fc844cdaea1e8c164cefc35f912c11e845a.zip
gdb-7d0a3fc844cdaea1e8c164cefc35f912c11e845a.tar.gz
gdb-7d0a3fc844cdaea1e8c164cefc35f912c11e845a.tar.bz2
Changes by Peter.Schauer to fix gdb/13521 -- gdb step command fails to step
from a function in one dynamically linked library into a function in another dynamically linked library.
Diffstat (limited to 'gdb/solib.h')
-rw-r--r--gdb/solib.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/gdb/solib.h b/gdb/solib.h
index 959e59e..995f58e 100644
--- a/gdb/solib.h
+++ b/gdb/solib.h
@@ -1,5 +1,5 @@
/* Shared library declarations for GDB, the GNU Debugger.
- Copyright (C) 1992 Free Software Foundation, Inc.
+ Copyright (C) 1992, 1998 Free Software Foundation, Inc.
This file is part of GDB.
@@ -58,3 +58,15 @@ solib_address PARAMS ((CORE_ADDR)); /* solib.c */
/* If ADDR lies in a shared library, return its name. */
#define PC_SOLIB(addr) solib_address (addr)
+
+#ifdef SVR4_SHARED_LIBS
+
+/* Return 1 if PC lies in the dynamic symbol resolution code of the
+ SVR4 run time loader. */
+
+#define IN_SOLIB_DYNSYM_RESOLVE_CODE(pc) in_svr4_dynsym_resolve_code (pc)
+
+extern int
+in_svr4_dynsym_resolve_code PARAMS ((CORE_ADDR));
+
+#endif