Ver Fonte

Restore it so we get gdb
[Thread 1026 (Missing) exited]
messages again, while leaving the __linuxthreads_death_event()
call disabled, as it still breaks gdb.

Eric Andersen há 20 anos atrás
pai
commit
ddeb09cb2e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      libpthread/linuxthreads/join.c

+ 1 - 1
libpthread/linuxthreads/join.c

@@ -56,12 +56,12 @@ PDEBUG("self=%p, pid=%d\n", self, self->p_pid);
 				   p_eventbuf.eventmask).event_bits[idx]))
 	  != 0)
 	{
-#if 0 /* Appears like DEATH event reporting is broken */
 	  /* Yep, we have to signal the death.  */
 	  THREAD_SETMEM(self, p_eventbuf.eventnum, TD_DEATH);
 	  THREAD_SETMEM(self, p_eventbuf.eventdata, self);
 	  __pthread_last_event = self;
 
+#if 0 /* Appears like DEATH event reporting is broken */
 	  /* Now call the function to signal the event.  */
 	  __linuxthreads_death_event();
 #endif