This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [i386newframe/PATCH] New i386newframe branch
On Sat, May 03, 2003 at 10:53:10PM +0200, Mark Kettenis wrote:
> Date: Sat, 03 May 2003 15:36:25 -0400
> From: Andrew Cagney <ac131313@redhat.com>
>
>
> > I might have something else for you to toy with. I've a prototype of
> > a DWARF2 CFI unwinder ready, which is working fine in my i386newframe
> > branch. I still need to clean up several hacks, but I might be able
> > to check it in soon.
>
> Using dwarf2expr? I'd not be suprized if it makes dwarf2cfi redundant.
>
> Yes, well, my current implentation doesn't handle
> DW_CFA_def_cfa_expression yet (GCC seems not to generate it for the
> i386), but my intention is to use the code from dwarf2expr.c for it.
>
> My new implementation will replace dwarf2cfi.c. There was too much
> code in there that I didn't understand, and too many bugs. For one
> thing, dwarf2expr.c is massively leaking memory.
Wait, is dwarf2cfi.c or dwarf2expr.c leaking memory? dwarf2expr.c
shouldn't be allocating, only its clients.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer