(td_thr_get_info): Initialize ti_traceme.
authordrepper <drepper>
Wed, 3 Nov 1999 17:13:24 +0000 (17:13 +0000)
committerdrepper <drepper>
Wed, 3 Nov 1999 17:13:24 +0000 (17:13 +0000)
linuxthreads_db/td_thr_get_info.c

index 1e05d4c..21f9f68 100644 (file)
@@ -69,6 +69,7 @@ td_thr_get_info (const td_thrhandle_t *th, td_thrinfo_t *infop)
   infop->ti_startfunc = pds.p_start_args.start_routine;
   memcpy (&infop->ti_events, &pds.p_eventbuf.eventmask,
          sizeof (td_thr_events_t));
+  infop->ti_traceme = pds.p_report_events != 0;
 
   return TD_OK;
 }