aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2009-03-06 18:51:05 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2009-03-06 18:51:05 +0000
commitf5c9a895bccae4fd0aca99667be0e7163690fbeb (patch)
treeaaa495fbc6b19f190e57cb13befb3734ee9fbf0e /gdb/solib.c
parentd11fd24905a8f164540ee205055618cd1fdb150d (diff)
downloadgdb-f5c9a895bccae4fd0aca99667be0e7163690fbeb.zip
gdb-f5c9a895bccae4fd0aca99667be0e7163690fbeb.tar.gz
gdb-f5c9a895bccae4fd0aca99667be0e7163690fbeb.tar.bz2
2009-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
Rename solib_address to solib_name_from_address. * breakpoint.c (insert_bp_location, disable_breakpoints_in_shlibs) (disable_breakpoints_in_unloaded_shlib): Update. * printcmd.c (display_uses_solib_p): Likewise. * stack.c (print_frame): Likewise. * solib.c: Rename. * solib.h: Rename.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 800319f..f2e68f5 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -838,11 +838,12 @@ info_sharedlibrary_command (char *ignore, int from_tty)
GLOBAL FUNCTION
- solib_address -- check to see if an address is in a shared lib
+ solib_name_from_address -- if an address is in a shared lib, return
+ its name.
SYNOPSIS
- char * solib_address (CORE_ADDR address)
+ char * solib_name_from_address (CORE_ADDR address)
DESCRIPTION
@@ -856,7 +857,7 @@ info_sharedlibrary_command (char *ignore, int from_tty)
*/
char *
-solib_address (CORE_ADDR address)
+solib_name_from_address (CORE_ADDR address)
{
struct so_list *so = 0; /* link map state variable */