]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - gdb/patches/gdb-moribund-utrace-workaround.patch
gdb: Update to 7.3.50.20110722.
[people/arne_f/ipfire-3.x.git] / gdb / patches / gdb-moribund-utrace-workaround.patch
CommitLineData
5a03b7c3
MT
1https://bugzilla.redhat.com/show_bug.cgi?id=590623
2http://sources.redhat.com/bugzilla/show_bug.cgi?id=11593
3
4Bug 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);