浏览代码

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 19 年之前
父节点
当前提交
ddeb09cb2e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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