Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2004 11:34:46 GMT
From:      David Xu <davidxu@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 60192 for review
Message-ID:  <200408211134.i7LBYkPd068358@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=60192

Change 60192 by davidxu@davidxu_alona on 2004/08/21 11:34:13

	Clear status in fbsd_therad_mourn_inferior().

Affected files ...

.. //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c#23 edit

Differences ...

==== //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c#23 (text+ko) ====

@@ -788,7 +788,10 @@
    * Forget about the child's process ID.  We shouldn't need it
    * anymore.
    */
-  proc_handle.pid = 0;
+  if (fbsd_thread_active)
+    fbsd_thread_deactivate ();
+
+  unpush_target (&fbsd_thread_ops);
 
   child_ops.to_mourn_inferior ();
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408211134.i7LBYkPd068358>