[obish?sym;rfa:doc] Wire up vsyscall

Andrew Cagney cagney@gnu.org
Tue May 11 14:49:00 GMT 2004


   > In the meantime, here's the patch from my Debian backport which should
   > fix this.  Pending a way to indicate 'abnormal frame' status in the
   > CFI, we don't want to use it; frame_unwind_address_in_block will hit.
   > 2004-01-25  Daniel Jacobowitz  <drow@mvista.com>
   Even with the above frame display change, this is needed.  The frame 
   needs to identify it's type as SIGTRAMP_FRAME.

   Mark?

Hmm.  The DWARF CFI in the vsyscall DSO is deliberately generated such
that frame_unwind_in_block does the right thing (there is a nop in
front of __kernel_sigreturn, which is included in the FDE range, such
that us substracting one from the PC will still give us the right
Dwarf CFI).
To what extent do we need to know about SIGTRAMP_FRAME for other
purposes?  I guess we need it to get stepping into/through signal
trampolines working properly, but I'd like to be certain about it.
At least that and (see above) frame_unwind_address_in_block.

Andrew






More information about the Gdb-patches mailing list