aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.h
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2009-03-09 22:38:37 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2009-03-09 22:38:37 +0000
commit5fd1a349f04524afe86e4aa5c46390698d7901dd (patch)
treea13fb2206273feea390ea5276fb2785a0ed848ae /gdb/solib.h
parent36746093bb421cbad3a8afa2223a67565510f655 (diff)
downloadgdb-5fd1a349f04524afe86e4aa5c46390698d7901dd.zip
gdb-5fd1a349f04524afe86e4aa5c46390698d7901dd.tar.gz
gdb-5fd1a349f04524afe86e4aa5c46390698d7901dd.tar.bz2
2009-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
* solib.c (solib_contains_address_p): New function. (solib_name_from_address): Use it. * printcmd.c (display_uses_solib_p): Use it. * solib.h (solib_contains_address_p): Declare it.
Diffstat (limited to 'gdb/solib.h')
-rw-r--r--gdb/solib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/solib.h b/gdb/solib.h
index e84ba0f..b4b770e 100644
--- a/gdb/solib.h
+++ b/gdb/solib.h
@@ -47,6 +47,10 @@ extern void solib_create_inferior_hook (void);
extern char *solib_name_from_address (CORE_ADDR);
+/* Return 1 if ADDR lies within SOLIB. */
+
+extern int solib_contains_address_p (const struct so_list *, CORE_ADDR);
+
/* Return 1 if PC lies in the dynamic symbol resolution code of the
run time loader. */