1exception 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 ebreak 35 breakpoint exception 36 37 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 ... 67