This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: HEADS UP: converting the i386 to the new frame unwinding stuff
- From: Mark Kettenis <kettenis at chello dot nl>
- To: ac131313 at redhat dot com
- Cc: gdb at sources dot redhat dot com, cfg at redhat dot com, thropej at wasavisystems dot com, rjl at sco dot com, peter dot schauer at regent dot e-technik dot tu-muenchen dot de, brobecker at act-europe dot fr
- Date: Mon, 3 Mar 2003 22:30:48 +0100 (CET)
- Subject: Re: HEADS UP: converting the i386 to the new frame unwinding stuff
- References: <200303021731.h22HVsEl019548@elgar.kettenis.dyndns.org> <3E63A2D5.8010007@redhat.com>
Date: Mon, 03 Mar 2003 13:45:41 -0500
From: Andrew Cagney <ac131313 at redhat dot com>
Mark,
Per several recent discussions, can you create a branch and commit it to
that. That way I can look at it now (regardless of your intended commit
schedule)?
Brilliant idea. I still have to comment my code a bit better, but
I'll try to create that branch somehwere at the end of the week.
I've started writing up the doco and in doing it, I suspect I may have
found an `off by one' error with the unwinder cache. Having a second
implementation using the current code should help sort this out.
The current state of affairs seems to work quite well for the i386.
The only thing that puzzles me is that apparently my
i386_frame_register_unwind gets called without an initialized cache.
I was under the impression that we'd always unwind the pc first, and
since my i386_frame_pc_unwind initialized the cache, I'd always have
an initialized cache with the other unwind functions.
Mark