diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-03-06 18:51:05 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-03-06 18:51:05 +0000 |
commit | f5c9a895bccae4fd0aca99667be0e7163690fbeb (patch) | |
tree | aaa495fbc6b19f190e57cb13befb3734ee9fbf0e /gdb/solib.c | |
parent | d11fd24905a8f164540ee205055618cd1fdb150d (diff) | |
download | gdb-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.c | 7 |
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 */ |