about summary refs log tree commit diff
path: root/linuxthreads_db/td_thr_get_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads_db/td_thr_get_info.c')
-rw-r--r--linuxthreads_db/td_thr_get_info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads_db/td_thr_get_info.c b/linuxthreads_db/td_thr_get_info.c
index 1e05d4c214..21f9f68d07 100644
--- a/linuxthreads_db/td_thr_get_info.c
+++ b/linuxthreads_db/td_thr_get_info.c
@@ -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;
 }