zephyr/arch
Andrew Boie faff50d8e7 arc: show all registers on exception
The ESF contains register file contents including program
counter when the exception happened. If non-NULL and we
have ARC_EXCEPTION_DEBUG enabled, dump its contents to the
log stream.

Other arches do this already.

There is no need to read ERET, the ESF already contains the
interrupted PC value.

A future enhancement could create an option to additionally
push callee-saved register context into the ESF so it can
also be dumped out, but this patch does not address this.

A future enhancement could also convert the syscall
stack frame pointer passed to arch_syscall_oops() into
an ESF so that context of the failed system call can be
inferred.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-06-09 13:52:56 +02:00
..
arc arc: show all registers on exception 2020-06-09 13:52:56 +02:00
arm zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
common zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
nios2 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
posix arch: posix: Print warning on sys_reboot 2020-06-09 08:19:50 +02:00
riscv zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
x86 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
xtensa zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
CMakeLists.txt
Kconfig x86: properly align initial dummy thread 2020-05-13 21:23:52 +02:00