aboutsummaryrefslogtreecommitdiffstats
path: root/src/chdebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chdebug.c')
-rw-r--r--src/chdebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chdebug.c b/src/chdebug.c
index 211e1de33..14b57669d 100644
--- a/src/chdebug.c
+++ b/src/chdebug.c
@@ -58,7 +58,7 @@ TraceBuffer dbgtb;
*/
void chDbgTrace(Thread *otp, Thread *ntp) {
- dbgtb.tb_ptr->cse_slpdata = otp->p_common;
+ dbgtb.tb_ptr->cse_wtobjp = otp->p_wtobjp;
#ifdef CH_USE_SYSTEMTIME
dbgtb.tb_ptr->cse_time = chSysGetTime();
#else