--- src/gnu/usr.bin/gdb/kgdb/trgt_i386.c 2006/05/01 16:56:01 1.2 +++ src/gnu/usr.bin/gdb/kgdb/trgt_i386.c 2006/07/09 01:38:57 1.3 @@ -59,10 +59,9 @@ kgdb_trgt_fetch_registers(int regno __un return; /* - * XXX Detect pure thread - * XXX handle pure thread dumping + * kt->pcb == NULL is a marker for "non-dumping kernel thread". */ - if (kt->paddr == 0) { + if (kt->pcb == NULL) { uintptr_t regs[5]; uintptr_t addr; uintptr_t sp;