Репозитории ALT
S: | 13.2.0.43.854f46b6377-alt2 |
5.1: | 6.6-alt3 |
4.1: | 6.6-alt3 |
4.0: | 6.6-alt2 |
3.0: | 6.3-alt2 |
Группа :: Разработка/Отладчики
Пакет: gdb
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: linux-clear-thread-list.patch
Скачать
Скачать
Status: unsubmitted
This patch was for Debian bug #303736. I now believe it's in the wrong
place; the generic mourn inferior should do this, perhaps.
---
gdb/linux-thread-db.c | 3 +++
1 file changed, 3 insertions(+)
Index: gdb-7.1/gdb/linux-thread-db.c
===================================================================
--- gdb-7.1.orig/gdb/linux-thread-db.c
+++ gdb-7.1/gdb/linux-thread-db.c
@@ -1280,6 +1280,9 @@ thread_db_mourn_inferior (struct target_
the inferior, so that we don't try to uninsert them. */
remove_thread_event_breakpoints ();
+ /* Destroy thread info; it's no longer valid. */
+ init_thread_list ();
+
/* Detach thread_db target ops. */
if (!thread_db_list)
unpush_target (ops);