From 97e93af5411c2f82888728690e0c2940f961c1d3 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Fri, 6 Dec 2024 12:27:03 -0500 Subject: [PATCH] .gdbinit: Fix reference to undefined rb_thread_t field [ci skip] --- .gdbinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gdbinit b/.gdbinit index df8ee35b22..b778305c8d 100644 --- a/.gdbinit +++ b/.gdbinit @@ -1104,7 +1104,7 @@ define rb_ps_thread set $ps_thread = (struct RTypedData*)$arg0 set $ps_thread_th = (rb_thread_t*)$ps_thread->data printf "* #\n", \ - $ps_thread, $ps_thread_th, $ps_thread_th->thread_id + $ps_thread, $ps_thread_th, $ps_thread_th->nt set $cfp = $ps_thread_th->ec->cfp set $cfpend = (rb_control_frame_t *)($ps_thread_th->ec->vm_stack + $ps_thread_th->ec->vm_stack_size)-1 while $cfp < $cfpend