diff options
author | Tom Tromey <tromey@redhat.com> | 2010-03-22 17:36:28 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-03-22 17:36:28 +0000 |
commit | 508ccb1f2ce1081c0c05bf089c923b4f4bcb5486 (patch) | |
tree | 9d1de075500b4da7175a6ff39278a6ca9fcf94e9 /gdb | |
parent | 5f717f1dbdefa84ed7657ca23eb62ac949ad3f87 (diff) | |
download | gdb-508ccb1f2ce1081c0c05bf089c923b4f4bcb5486.zip gdb-508ccb1f2ce1081c0c05bf089c923b4f4bcb5486.tar.gz gdb-508ccb1f2ce1081c0c05bf089c923b4f4bcb5486.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 12 | ||||
-rw-r--r-- | gdb/breakpoint.c | 5 |
2 files changed, 16 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c081aa6..6a8ceb9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 1b4ab57..b9b3e85 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; |