1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-17 04:29:11 +00:00
termux-packages/packages/gdb/linux_thread_db_no_th_unique.patch
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

14 lines
527 B
Diff

diff -u -r ../gdb-7.6.2/gdb/linux-thread-db.c ./gdb/linux-thread-db.c
--- ../gdb-7.6.2/gdb/linux-thread-db.c 2013-12-08 05:33:13.000000000 +0100
+++ ./gdb/linux-thread-db.c 2014-01-07 16:43:01.866311352 +0100
@@ -447,9 +447,6 @@
struct thread_db_info *info;
struct thread_get_info_inout io = {0};
- /* Just in case td_ta_map_lwp2thr doesn't initialize it completely. */
- th.th_unique = 0;
-
/* This ptid comes from linux-nat.c, which should always fill in the
LWP. */
gdb_assert (GET_LWP (ptid) != 0);