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 (齐尧)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.