aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.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/printcmd.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/printcmd.c')
-rw-r--r--gdb/printcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 5862161..8a746e4 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -1767,7 +1767,7 @@ display_uses_solib_p (const struct display *d,
struct expression *const exp = d->exp;
if (d->block != NULL
- && solib_address (d->block->startaddr) == solib->so_name)
+ && solib_name_from_address (d->block->startaddr) == solib->so_name)
return 1;
for (i = 0; i < exp->nelts; )
@@ -1783,7 +1783,7 @@ display_uses_solib_p (const struct display *d,
SYMBOL_OBJ_SECTION (symbol);
if (block != NULL
- && solib_address (block->startaddr) == solib->so_name)
+ && solib_name_from_address (block->startaddr) == solib->so_name)
return 1;
if (section && section->objfile == solib->objfile)