This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Multi-arch SIGTRAMP_{START|END} for FreeBSD/i386
- From: Jason R Thorpe <thorpej at wasabisystems dot com>
- To: Mark Kettenis <kettenis at chello dot nl>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 6 Sep 2002 14:32:34 -0700
- Subject: Re: [PATCH] Multi-arch SIGTRAMP_{START|END} for FreeBSD/i386
- Organization: Wasabi Systems, Inc.
- References: <200209062047.g86KlBcd000771@elgar.kettenis.dyndns.org>
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>