• Jeffrey Lee's avatar
    Add exception dump generation and processing facilities · 5e1d6cfb
    Jeffrey Lee authored
    Detail:
      This set of changes adds support for the following features:
      * A new code system variable, Debugger$DumpOptions, to control whether exception/crash dumps are collected from SeriousErrorV and where they should be output
      * Dump output can be in raw (binary) or annotated (text) form.
      * Annotated form provides detailed annotation of the stack(s), detecting certain constructs such as SWI invocations, IRQsema frames, CMHG veneers, APCS stack frame chains, and most forms of assembler function calls. The output isn't as easy to understand as a proper stack backtrace would be, but the low-level nature allows it to cope with corrupt or partially-overwritten stack frames, and avoids making invasive changes to components in order to make them backtrace-friendly
      * Stack annotation is able to make use of embedded ROM debug symbols (to be supported by romlinker 0.06) and Norcroft-style embedded function names in order to provide function-level loc...
    5e1d6cfb
ExceptionDump 21.8 KB