2010-03-22 Reid Kleckner <reid@kleckner.net>
authorTom Tromey <tromey@redhat.com>
Mon, 22 Mar 2010 17:36:28 +0000 (17:36 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 22 Mar 2010 17:36:28 +0000 (17:36 +0000)
PR gdb/11094
* breakpoint.c (disable_breakpoints_in_unloaded_shlib): Add
bp_jit_event.
(disable_breakpoints_in_shlibs): Likewise.

gdb/ChangeLog
gdb/breakpoint.c

index c081aa6d1ffc0c2f325bdd416c5e5ff53618c85c..6a8ceb9ee98faf5c0e488a925435bf3646bd7438 100644 (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
index 1b4ab570250fb9af157383d459a1dc413cdd1b9e..b9b3e857846700edb5b127ccd9e7b73855a4d3c2 100644 (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;