Subject: Re: gdb and trap frames [was Re: reproducible crash when building sysutils/net-snmp]
To: Nick Hudson <nick.hudson@dsl.pipex.com>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 01/12/2008 22:32:35
On Sat, Jan 12, 2008 at 09:51:28PM +0000, David Laight wrote:
> 
> > I can point anyone who wants to look at this in the right direction.

I've found where it is broken, and know how to fix it!

But a couple of questions for Nick?

Does src/gnu/dist/gdb6/gdb/amd64nbsd-tdep.c have to be compilable
on non-netbsd systems (ie in the gne repo) ?

More specifically can it include header files that are shipped with
netbsd itself?

If it does is there a #if check I can use to determine when the
code is being compiled under netbsd ?

FWIW the code that needs changing is currently local.

	David

-- 
David Laight: david@l8s.co.uk