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/sandbox/Makefile | |
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/sandbox/Makefile')
-rw-r--r-- | cmd/sandbox/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/sandbox/Makefile b/cmd/sandbox/Makefile new file mode 100644 index 00000000000..24df023ece9 --- /dev/null +++ b/cmd/sandbox/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0+ + +obj-$(CONFIG_CMD_EXCEPTION) += exception.o |