From 508ccb1f2ce1081c0c05bf089c923b4f4bcb5486 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 22 Mar 2010 17:36:28 +0000 Subject: [PATCH] 2010-03-22 Reid Kleckner PR gdb/11094 * breakpoint.c (disable_breakpoints_in_unloaded_shlib): Add bp_jit_event. (disable_breakpoints_in_shlibs): Likewise. --- gdb/ChangeLog | 12 ++++++++++++ gdb/breakpoint.c | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c081aa6d1ff..6a8ceb9ee98 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,15 @@ +2010-03-22 Reid Kleckner + + PR gdb/11094 + * breakpoint.c (disable_breakpoints_in_unloaded_shlib): Add + bp_jit_event. + (disable_breakpoints_in_shlibs): Likewise. + +2010-03-22 Reid Kleckner + + PR gdb/11094 + * breakpoint.c (disable_breakpoints_in_unloaded_shlib): Add bp_jit_event + 2010-03-22 Ulrich Weigand * dwarf2read.c (partial_die_parent_scope): Work around buggy diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 1b4ab570250..b9b3e857846 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -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; -- 2.30.2