Index: thread-db.c =================================================================== RCS file: /cvs/src/src/gdb/thread-db.c,v retrieving revision 1.28 diff -u -r1.28 thread-db.c --- thread-db.c 14 Jan 2003 00:49:04 -0000 1.28 +++ thread-db.c 27 Jan 2003 22:58:58 -0000 @@ -1007,6 +1007,11 @@ proc_handle.pid = 0; target_beneath->to_mourn_inferior (); + + /* Detach thread_db target ops. The thread_db_new_objfile routine + will reattach them later if needed. */ + unpush_target (&thread_db_ops); + using_thread_db = 0; } static int