This is the mail archive of the
mailing list for the GDB project.
Re: [patch/rfc] Add frame unwinder registrary
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 16 Jan 2003 18:31:00 -0500
- Subject: Re: [patch/rfc] Add frame unwinder registrary
- References: <3E271A4C.firstname.lastname@example.org>
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:
> these are the frames that GDB creates when doing an inferior function call.
> 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.
MontaVista Software Debian GNU/Linux Developer