Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37535985
en ru br
Репозитории 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
www.altlinux.org/Changes

Группа :: Разработка/Отладчики
Пакет: 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);
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin