]> git.pld-linux.org Git - packages/gdb.git/blame - gdb-moribund-utrace-workaround.patch
- typo
[packages/gdb.git] / gdb-moribund-utrace-workaround.patch
CommitLineData
51a5ef0f
PS
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);
This page took 0.608628 seconds and 4 git commands to generate.