HomeFreeBSD

MFC r333667: followup to r332730/r332752: set kdb_why to "trap" for fatal traps

Description

MFC r333667: followup to r332730/r332752: set kdb_why to "trap" for fatal traps

This change updates arm, arm64 and mips achitectures. Additionally, it
removes redundant checks for kdb_active where it already results in
kdb_reenter() and adds kdb_reenter() calls where they were missing.

Some architectures check the return value of kdb_trap(), but some don't.
I haven't changed any of that.

Some trap handling routines have a return code. I am not sure if I
provided correct ones for returns after kdb_reenter(). kdb_reenter
should never return unless kdb_jmpbufp is NULL for some reason.

Details

Provenance
avgAuthored on
Parents
rS335556: MFC r333667: followup to r332730/r332752: set kdb_why to "trap" for fatal traps
Branches
Unknown
Tags
Unknown