diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-01-26 14:59:09 +0300 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-01-27 14:52:57 +0300 |
commit | 25be4d336fa994a17070f5a810f4dd6219b2c993 (patch) | |
tree | e1417317916cce1c6a9185807d61e07370b6ac46 /doc/usage/exception.rst | |
parent | 98f01cf7a22ec81774a26a9e1bf11c7c3cdce424 (diff) | |
download | u-boot-25be4d336fa994a17070f5a810f4dd6219b2c993.tar.xz |
doc: exception command
Create man-page for exception command.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'doc/usage/exception.rst')
-rw-r--r-- | doc/usage/exception.rst | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/doc/usage/exception.rst b/doc/usage/exception.rst new file mode 100644 index 0000000000..412a03ba0f --- /dev/null +++ b/doc/usage/exception.rst @@ -0,0 +1,68 @@ +exception command +================= + +Synopsis +-------- + +:: + + exception <type> + +Description +----------- + +The exception command is used to test the handling of exceptions like undefined +instructions, segmentation faults or alignment faults. + +type + type of exception to be generated. The available types are architecture + dependent. Use 'help exception' to determine which are available. + + **ARM:** + + breakpoint + prefetch abort + + unaligned + data abort + + undefined + undefined instruction + + **RISC-V:** + + unaligned + load address misaligned + + undefined + undefined instruction + + **Sandbox:** + + sigsegv + illegal memory access + + undefined + undefined instruction + + **x86:** + + undefined + undefined instruction + +Examples +-------- + +:: + + => exception undefined + + Illegal instruction + pc = 0x56076dd1a0f9, pc_reloc = 0x540f9 + + resetting ... + +Return value +------------ + +The return value $? is always set to 0 (true). |