Re: Infinite Stack Unwinding ARM
Yao Qi <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Johannes Stoelp <[email protected]> writes: > * Anyone worked on an extension for the prologue analyzer to support SYSRegs and therefore > instructions like MRS? I don't expect prologue analyzer supporting SYSRegs and instruction MRS. All the prologue analyzers in GDB are written in a way that understanding instructions according to the ABI/calling convention of each architecture and compiler's behavior, so it should be able to parse the instruction in prologues complying to the ABI. GDB prologue analyzer may not understand what does handwritten assembly do. If you want GDB to unwind from there, add .cfi directives in arch/arm64/kernel/entry.S -- Yao (齐尧)