summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
97ec2c2)
breakpoint from shared library.
2008-08-26 Ulrich Weigand <uweigand@de.ibm.com>
2008-08-26 Ulrich Weigand <uweigand@de.ibm.com>
+ * breakpoint.c (remove_breakpoint): Do not fail if unable to remove
+ breakpoint from shared library.
+
+2008-08-26 Ulrich Weigand <uweigand@de.ibm.com>
+
* solib-svr4.c (read_program_header): New function.
(scan_dyntag_auxv): New function.
(elf_locate_base): Use it if scan_dyntag fails.
* solib-svr4.c (read_program_header): New function.
(scan_dyntag_auxv): New function.
(elf_locate_base): Use it if scan_dyntag fails.
+
+ /* 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))
+ val = 0;
+
if (val)
return val;
b->inserted = (is == mark_inserted);
if (val)
return val;
b->inserted = (is == mark_inserted);