Stop dumping registers on "normal" segmentation faults. Do print the contents
authorkettenis <kettenis@openbsd.org>
Mon, 24 Apr 2017 08:09:13 +0000 (08:09 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 24 Apr 2017 08:09:13 +0000 (08:09 +0000)
commit2f5146fdcc1138b7f80b4e13dfe0eea51f9c58fc
treeebba06b5f1f9cb276489843301b97398b2d8b533
parentbfa31a59c05c262ffe944cda8d7125b1b0f0b0c7
Stop dumping registers on "normal" segmentation faults.  Do print the contents
of the esr_el1 register for unhandled userland exceptions (and continue to
dump the registers in that case).

Handle breakpoint traps and make sure we call refreshcreds() on userland traps.

ok jsg@
sys/arch/arm64/arm64/trap.c