This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Multi-arch SIGTRAMP_{START|END} for FreeBSD/i386


On Fri, Sep 06, 2002 at 10:47:11PM +0200, Mark Kettenis wrote:

 > This removes the last #defines from i386/tm-fbsd.h.  Yippie!

Cool!  I can nuke i386/tm-nbsd.h once the solib stuff is multi-arch'd,
too... man, that'll be nice...

 > Jason, just to be safe, I reset sigtramp_start and sigtramp_end on
 > NetBSD.  I added a FIXME too, but the obvious implementation of
 > sigtramp_start using i386nbsd_sigtramp_offset is probably not going to
 > work, since then very weird things happen to libc-provided signal
 > trampolines.  I need to think about that a bit more (Linux suffers
 > from a similar problem).

Yah... FWIW, gdb already notices signal trampolines on the stack,
but just says <signal handler called>, rather than <sigtramp> (which
is just fine with me, FWIW :-)

I'm super-busy next week (Intel Developer Forum), but I'll have
time to think/talk about it some more after that...

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]