diff -upN reference/arch/x86_64/kernel/kgdb_stub.c current/arch/x86_64/kernel/kgdb_stub.c
--- reference/arch/x86_64/kernel/kgdb_stub.c
+++ current/arch/x86_64/kernel/kgdb_stub.c
@@ -1303,7 +1303,7 @@ print_extra_info(task_t *p, char *buf)
 		     (p->state < 0) ? 'U' :
 		     (p->state & TASK_UNINTERRUPTIBLE) ? 'D' :
 		     (p->state & TASK_STOPPED || p->ptrace & PT_PTRACED) ? 'T' :
-		     (p->state & (TASK_ZOMBIE | TASK_DEAD)) ? 'Z' :
+		     (p->state & (EXIT_ZOMBIE | EXIT_DEAD)) ? 'Z' :
 		     (p->state & TASK_INTERRUPTIBLE) ? 'S' : '?',
 		   p->comm);
 }