freebsd-dev/sys/mips
Andriy Gapon c9c4d38aa8 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.

Only compile tested for all affected architectures.  There can be bugs
resulting from my poor understanding of architecture specific details.

Reported by:	jhb
Reviewed by:	jhb, eadler
MFC after:	4 weeks
Differential Revision: https://reviews.freebsd.org/D15431
2018-05-16 06:52:08 +00:00
..
atheros sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
beri Add SMP support for BERI CPU. 2018-04-12 17:43:19 +00:00
broadcom bhnd(4): Use the new BHND_CAP_BP64 capability flag to exclude DMA 2018-03-29 19:48:50 +00:00
cavium Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
conf Convert atse(4) driver for Altera Triple-Speed Ethernet MegaCore to use 2018-04-13 15:59:24 +00:00
gxemul sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
include Fix PT_STEP single-stepping for mips. 2018-04-24 17:53:16 +00:00
ingenic Tune xDMA interface slightly: 2018-04-12 15:36:24 +00:00
malta sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
mediatek Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
mips followup to r332730/r332752: set kdb_why to "trap" for fatal traps 2018-05-16 06:52:08 +00:00
nlm Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
sibyte sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00