Only call kdb_trap() if the DDB config option is specified.

This commit is contained in:
Jason Evans 2000-09-08 09:51:16 +00:00
parent 9c25701692
commit c3b8f29aea

View File

@ -234,7 +234,9 @@ machine_check(mces, framep, vector, param)
printf(" pid = %d, comm = %s\n", curproc->p_pid,
curproc->p_comm);
printf("\n");
#ifdef DDB
kdb_trap(mces, vector, param, ALPHA_KENTRY_MM, framep);
#endif
panic("machine check");
}