Infinite Stack Unwinding ARM

Yao Qi qiyaoltc@gmail.com
Wed Apr 5 11:09:00 GMT 2017


Johannes Stoelp <Johannes.Stoelp@synopsys.com> 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 (齐尧)



More information about the Gdb mailing list