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/breakpoint.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/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 66252ba..893e1c2 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -1160,7 +1160,7 @@ Note: automatically using hardware breakpoints for read-only addresses.\n")); if (val) { /* Can't set the breakpoint. */ - if (solib_address (bpt->address)) + if (solib_name_from_address (bpt->address)) { /* See also: disable_breakpoints_in_shlibs. */ val = 0; @@ -1629,7 +1629,7 @@ remove_breakpoint (struct bp_location *b, insertion_state_t is) /* In some cases, we might not be able to remove a breakpoint in a shared library that has already been removed, but we have not yet processed the shlib unload event. */ - if (val && solib_address (b->address)) + if (val && solib_name_from_address (b->address)) val = 0; if (val) @@ -4439,7 +4439,7 @@ disable_breakpoints_in_shlibs (void) #ifdef PC_SOLIB && PC_SOLIB (loc->address) #else - && solib_address (loc->address) + && solib_name_from_address (loc->address) #endif ) { @@ -4475,7 +4475,7 @@ disable_breakpoints_in_unloaded_shlib (struct so_list *solib) #ifdef PC_SOLIB char *so_name = PC_SOLIB (loc->address); #else - char *so_name = solib_address (loc->address); + char *so_name = solib_name_from_address (loc->address); #endif if (so_name && !strcmp (so_name, solib->so_name)) { |