Subject: Re: gdb and trap frames
To: Nick Hudson <nick.hudson@dsl.pipex.com>
From: Nathan J. Williams <nathanw@MIT.EDU>
List: current-users
Date: 01/12/2008 19:07:01
David Laight <david@l8s.co.uk> writes:

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

Yes. "*-tdep.c" files are target-dependent, and in general need to
compile on all of GDB's supported host platforms. "*nat.c" files are
for "native" functionality, and those can pull in less portable headers.

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

No, unless they're portable ones that NetBSD also provides.

	- Nathan