This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/rfc] Add frame unwinder registrary

On Thu, Jan 16, 2003 at 03:47:08PM -0500, Andrew Cagney wrote:
> [ref: cagney-unwind-20030108-branch]
> This patch add the two files frame-unwind.[hc] that implement a simple 
> frame unwind registrary.
> Given a function that contains the address PC, the method 
> frame_unwind_find_by_pc(ARCH,PC) returns methods that can unwind the 
> specified function's stack frame.
> At present the code knows about two frames:
> dummy-frame
> these are the frames that GDB creates when doing an inferior function call.
> trad[itional]-frame
> GDB's traditional / original prologe analysis, extra frame info, frame 
> saved regs, frame.

That's the name you settled on?  Hmm, I like it.

> Architectures can add to this list.  On the above branch, the d10v adds 
> a rewritten d10v specific frame unwinder.  An obvious addition would be 
> a CFI frame unwinder.
> I'll look to commit this in a few days.

Great.  After you do, I'll try to integrate the CFI unwinder with it
and then we can move forward on artificial debug info again.

Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]