blob: 27df88bd5c9eed6a3b9bc1517300efcbfbb11ac1 [file] [log] [blame]
Heinrich Schuchardt25be4d32021-01-26 12:59:09 +01001exception command
2=================
3
4Synopsis
5--------
6
7::
8
9 exception <type>
10
11Description
12-----------
13
14The exception command is used to test the handling of exceptions like undefined
15instructions, segmentation faults or alignment faults.
16
17type
18 type of exception to be generated. The available types are architecture
19 dependent. Use 'help exception' to determine which are available.
20
21 **ARM:**
22
23 breakpoint
24 prefetch abort
25
26 unaligned
27 data abort
28
29 undefined
30 undefined instruction
31
32 **RISC-V:**
33
Heinrich Schuchardt91e4b752021-04-09 10:48:14 +000034 ebreak
35 breakpoint exception
36
Heinrich Schuchardt25be4d32021-01-26 12:59:09 +010037 unaligned
38 load address misaligned
39
40 undefined
41 undefined instruction
42
43 **Sandbox:**
44
45 sigsegv
46 illegal memory access
47
48 undefined
49 undefined instruction
50
51 **x86:**
52
53 undefined
54 undefined instruction
55
56Examples
57--------
58
59::
60
61 => exception undefined
62
63 Illegal instruction
64 pc = 0x56076dd1a0f9, pc_reloc = 0x540f9
65
66 resetting ...