Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gdb and trap frames



David Laight <david%l8s.co.uk@localhost> 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




Home | Main Index | Thread Index | Old Index