mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
2010-03-22 Reid Kleckner <reid@kleckner.net>
PR gdb/11094 * breakpoint.c (disable_breakpoints_in_unloaded_shlib): Add bp_jit_event. (disable_breakpoints_in_shlibs): Likewise.
This commit is contained in:
parent
5f717f1dbd
commit
508ccb1f2c
@ -1,3 +1,15 @@
|
||||
2010-03-22 Reid Kleckner <reid@kleckner.net>
|
||||
|
||||
PR gdb/11094
|
||||
* breakpoint.c (disable_breakpoints_in_unloaded_shlib): Add
|
||||
bp_jit_event.
|
||||
(disable_breakpoints_in_shlibs): Likewise.
|
||||
|
||||
2010-03-22 Reid Kleckner <reid@kleckner.net>
|
||||
|
||||
PR gdb/11094
|
||||
* breakpoint.c (disable_breakpoints_in_unloaded_shlib): Add bp_jit_event
|
||||
|
||||
2010-03-22 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* dwarf2read.c (partial_die_parent_scope): Work around buggy
|
||||
|
@ -5392,6 +5392,7 @@ disable_breakpoints_in_shlibs (void)
|
||||
all breakpoints. If we don't set shlib_disabled here, we'll try
|
||||
to insert those breakpoints and fail. */
|
||||
if (((b->type == bp_breakpoint)
|
||||
|| (b->type == bp_jit_event)
|
||||
|| (b->type == bp_hardware_breakpoint)
|
||||
|| (tracepoint_type (b)))
|
||||
&& loc->pspace == current_program_space
|
||||
@ -5432,7 +5433,9 @@ disable_breakpoints_in_unloaded_shlib (struct so_list *solib)
|
||||
|| loc->loc_type == bp_loc_software_breakpoint)
|
||||
&& solib->pspace == loc->pspace
|
||||
&& !loc->shlib_disabled
|
||||
&& (b->type == bp_breakpoint || b->type == bp_hardware_breakpoint)
|
||||
&& (b->type == bp_breakpoint
|
||||
|| b->type == bp_jit_event
|
||||
|| b->type == bp_hardware_breakpoint)
|
||||
&& solib_contains_address_p (solib, loc->address))
|
||||
{
|
||||
loc->shlib_disabled = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user