Heinrich Schuchardt | 039f792 | 2021-01-26 12:59:09 +0100 | [diff] [blame] | 1 | exception command |
| 2 | ================= |
| 3 | |
| 4 | Synopsis |
| 5 | -------- |
| 6 | |
| 7 | :: |
| 8 | |
| 9 | exception <type> |
| 10 | |
| 11 | Description |
| 12 | ----------- |
| 13 | |
| 14 | The exception command is used to test the handling of exceptions like undefined |
| 15 | instructions, segmentation faults or alignment faults. |
| 16 | |
| 17 | type |
| 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 | |
| 53 | Examples |
| 54 | -------- |
| 55 | |
| 56 | :: |
| 57 | |
| 58 | => exception undefined |
| 59 | |
| 60 | Illegal instruction |
| 61 | pc = 0x56076dd1a0f9, pc_reloc = 0x540f9 |
| 62 | |
| 63 | resetting ... |