Fix PR gdb/19676: Internal error in linux-thread.db.c if /proc not mounted
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 3e72420282f0310ab3a76b58a00da1d0b1d07733..2e30d4acef3c4dc9afebbb6170236d5510cb6112 100644 (file)
@@ -1,3 +1,13 @@
+2016-03-15  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/19676
+       * linux-thread-db.c (try_thread_db_load_1): Leave
+       info->td_ta_thr_iter_p NULL iff debugging a live process and we
+       have /proc access.
+       (find_new_threads_once): Assert that we have a non-NULL
+       info->td_ta_thr_iter_p instead of checking whether the target has
+       execution.
+
 2016-03-15  Pedro Alves  <palves@redhat.com>
 
        PR gdb/19676
This page took 0.025474 seconds and 4 git commands to generate.