exception.rst 914 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. exception command
  2. =================
  3. Synopsis
  4. --------
  5. ::
  6. exception <type>
  7. Description
  8. -----------
  9. The exception command is used to test the handling of exceptions like undefined
  10. instructions, segmentation faults or alignment faults.
  11. type
  12. type of exception to be generated. The available types are architecture
  13. dependent. Use 'help exception' to determine which are available.
  14. **ARM:**
  15. breakpoint
  16. prefetch abort
  17. unaligned
  18. data abort
  19. undefined
  20. undefined instruction
  21. **RISC-V:**
  22. ebreak
  23. breakpoint exception
  24. unaligned
  25. load address misaligned
  26. undefined
  27. undefined instruction
  28. **Sandbox:**
  29. sigsegv
  30. illegal memory access
  31. undefined
  32. undefined instruction
  33. **x86:**
  34. undefined
  35. undefined instruction
  36. Examples
  37. --------
  38. ::
  39. => exception undefined
  40. Illegal instruction
  41. pc = 0x56076dd1a0f9, pc_reloc = 0x540f9
  42. resetting ...