]> git.ipfire.org Git - ipfire-3.x.git/blob - gdb/patches/gdb-moribund-utrace-workaround.patch
wget: LDFLAGS were accidentially overwritten
[ipfire-3.x.git] / gdb / patches / 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);