diff options
Diffstat (limited to 'vm_dump.c')
-rw-r--r-- | vm_dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1194,10 +1194,10 @@ rb_vmdebug_stack_dump_all_threads(void) ccan_list_for_each(&r->threads.set, th, lt_node) { #ifdef NON_SCALAR_THREAD_ID rb_thread_id_string_t buf; - ruby_fill_thread_id_string(th->thread_id, buf); + ruby_fill_thread_id_string(th->nt->thread_id, buf); fprintf(stderr, "th: %p, native_id: %s\n", th, buf); #else - fprintf(stderr, "th: %p, native_id: %p\n", (void *)th, (void *)(uintptr_t)th->thread_id); + fprintf(stderr, "th: %p, native_id: %p\n", (void *)th, (void *)(uintptr_t)th->nt->thread_id); #endif rb_vmdebug_stack_dump_raw(th->ec, th->ec->cfp); } |