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:
Tom Tromey 2010-03-22 17:36:28 +00:00
parent 5f717f1dbd
commit 508ccb1f2c
2 changed files with 16 additions and 1 deletions

View File

@ -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

View File

@ -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;