diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-03-09 22:38:37 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-03-09 22:38:37 +0000 |
commit | 5fd1a349f04524afe86e4aa5c46390698d7901dd (patch) | |
tree | a13fb2206273feea390ea5276fb2785a0ed848ae /gdb/solib.h | |
parent | 36746093bb421cbad3a8afa2223a67565510f655 (diff) | |
download | gdb-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.h | 4 |
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. */ |