Subject: Re: Cross-building
To: None <port-amd64@netbsd.org>
From: Mark Kettenis <kettenis@chello.nl>
List: port-amd64
Date: 10/19/2003 21:25:11
> On Fri, Oct 10, 2003 at 02:25:59PM +0200, Frank van der Linden wrote:
> > I'll have to redo the changes and feed them back for GDB 6, but that's
> > not important right now.

> Don't waste *any* time with GDB 5.3.  I personally worked to get Mark
> Kettenis <kettenis@gnu.nl> an AMD64 system with extra disks so he could
> multi-boot it, for GDB development.  He's done some great work
> rearchitecting both AMD64 and Sparc64 in GDB mainline (and 6.0 branch).
> I would just touch base with him to see if NetBSD's needs aren't already
> taken care of.  And if not, he might be able to do what is needed with
> out much effort.

Well, mail to kettenis@gnu.nl probably won't reach me.  It's either
kettenis@gnu.org or kettenis@chello.nl.  Anyway, I committed an
NetBSD/amd64 port yesterday.  It doesn't do core-dumps yet, but I have
some pending changes that should make those work.  Backtraces through
signal trampolines are working AFAICT.  However, there is some strange
interaction between ptrace(2) and pending signals; in particular
SIGALRM.  If you try to single-step a program with a SIGALRM pending,
GDB doesn't see the SIGALRM and doesn't step either.  This smells like
a kernel bug to me.  Haven't looked into it yet though.

Mark