mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
Properly handle KDB entry in fatal abort. This lets KDB_UNATTENDED work on ARM.
Submitted by: Grzegorz Bernacki gjb ! semihalf dot com
This commit is contained in:
parent
abe15ad66c
commit
991d55bfab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=190844
@ -520,7 +520,8 @@ dab_fatal(trapframe_t *tf, u_int fsr, u_int far, struct thread *td, struct ksig
|
||||
printf(", pc =%08x\n\n", tf->tf_pc);
|
||||
|
||||
#ifdef KDB
|
||||
kdb_trap(fsr, 0, tf);
|
||||
if (debugger_on_panic || kdb_active)
|
||||
kdb_trap(fsr, 0, tf);
|
||||
#endif
|
||||
panic("Fatal abort");
|
||||
/*NOTREACHED*/
|
||||
|
Loading…
Reference in New Issue
Block a user