diff options
author | Heinrich Schuchardt | 2020-11-12 00:29:57 +0100 |
---|---|---|
committer | Simon Glass | 2020-12-13 07:58:17 -0700 |
commit | 3a5ec0357868b384d43af93d8a20e4c85b00586c (patch) | |
tree | 90e6ed3aa24df585c060c2c83a6c649d76fef122 /cmd/Kconfig | |
parent | b46f30a378673a5c789d145c1d8d0d76312714d8 (diff) |
cmd: sandbox: implement exception command
Implement the commands
* exception undefined - execute an illegal instruction
* exception sigsegv - cause a segment violation
Here is a possible output:
=> exception undefined
Illegal instruction
pc = 0x55eb8d0a7575, pc_reloc = 0x57575
Resetting ...
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 98cf543ead0..c853ce761e0 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1691,7 +1691,7 @@ config CMD_EFIDEBUG config CMD_EXCEPTION bool "exception - raise exception" - depends on ARM || RISCV || X86 + depends on ARM || RISCV || SANDBOX || X86 help Enable the 'exception' command which allows to raise an exception. |