blob: db1490f0055cbc331713c885fee2d6a4da6ea2de [file] [log] [blame]
Heinrich Schuchardt039f7922021-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
34 unaligned
35 load address misaligned
36
37 undefined
38 undefined instruction
39
40 **Sandbox:**
41
42 sigsegv
43 illegal memory access
44
45 undefined
46 undefined instruction
47
48 **x86:**
49
50 undefined
51 undefined instruction
52
53Examples
54--------
55
56::
57
58 => exception undefined
59
60 Illegal instruction
61 pc = 0x56076dd1a0f9, pc_reloc = 0x540f9
62
63 resetting ...