]> git.pld-linux.org Git - packages/gdb.git/blob - gdb-moribund-utrace-workaround.patch
- updated (performance fixes).
[packages/gdb.git] / gdb-moribund-utrace-workaround.patch
1 https://bugzilla.redhat.com/show_bug.cgi?id=590623
2 http://sources.redhat.com/bugzilla/show_bug.cgi?id=11593
3
4 Bug in FSF GDB exploited by the ptrace-on-utrace interaction.
5
6 --- a/gdb/breakpoint.c
7 +++ b/gdb/breakpoint.c
8 @@ -9084,6 +9084,8 @@ update_global_location_list (int should_insert)
9                  traps we can no longer explain.  */
10  
11               old_loc->events_till_retirement = 3 * (thread_count () + 1);
12 +             /* Red Hat Bug 590623.  */
13 +             old_loc->events_till_retirement *= 10;
14               old_loc->owner = NULL;
15  
16               VEC_safe_push (bp_location_p, moribund_locations, old_loc);
This page took 0.20437 seconds and 3 git commands to generate.