gdb/gdb-moribund-utrace-workaround.patch

13 lines
457 B
Diff
Raw Normal View History

2019-09-30 10:39:25 -04:00
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -11904,6 +11904,8 @@ update_global_location_list (enum ugll_insert_mode insert_mode)
2019-09-30 10:39:25 -04:00
traps we can no longer explain. */
old_loc->events_till_retirement = 3 * (thread_count () + 1);
+ /* Red Hat Bug 590623. */
+ old_loc->events_till_retirement *= 10;
old_loc->owner = NULL;
2020-01-13 14:20:40 +08:00
moribund_locations.push_back (old_loc);