Skip to content

Commit 97e93af

Browse files
committed
.gdbinit: Fix reference to undefined rb_thread_t field [ci skip]
1 parent 8502a54 commit 97e93af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gdbinit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ define rb_ps_thread
11041104
set $ps_thread = (struct RTypedData*)$arg0
11051105
set $ps_thread_th = (rb_thread_t*)$ps_thread->data
11061106
printf "* #<Thread:%p rb_thread_t:%p native_thread:%p>\n", \
1107-
$ps_thread, $ps_thread_th, $ps_thread_th->thread_id
1107+
$ps_thread, $ps_thread_th, $ps_thread_th->nt
11081108
set $cfp = $ps_thread_th->ec->cfp
11091109
set $cfpend = (rb_control_frame_t *)($ps_thread_th->ec->vm_stack + $ps_thread_th->ec->vm_stack_size)-1
11101110
while $cfp < $cfpend

0 commit comments

Comments
 (0)