This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/ARM] Framificate the ARM port [3/3]
On Mon, Jul 07, 2003 at 10:46:26AM -0400, Andrew Cagney wrote:
>
> >Makes sense. I will need to cache a PC to fix some corner cases with
> >signal trampolines, but I'm not fixing that bug right now.
>
> Can you expand? I can understand cacheing the previous frame's PC but
> not this frame's.
We can't use frame_func_unwind on a sigtramp frame. So we'll need to
cache some information to figure out the PC's offset within the
trampoline. Otherwise single-stepping in the trampoline will yield two
different frame IDs.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer