aboutsummaryrefslogtreecommitdiff
path: root/gdb/x86-64-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-10-18 18:41:22 +0000
committerMark Kettenis <kettenis@gnu.org>2003-10-18 18:41:22 +0000
commitcced5e27e61ec91c00eecd61b48096f7e49b7141 (patch)
tree484866ad5e8755a1cde09bc72512daf41c291fa9 /gdb/x86-64-tdep.h
parent89b7466f7671017df5609bcbfcf2e6d836517535 (diff)
downloadgdb-cced5e27e61ec91c00eecd61b48096f7e49b7141.zip
gdb-cced5e27e61ec91c00eecd61b48096f7e49b7141.tar.gz
gdb-cced5e27e61ec91c00eecd61b48096f7e49b7141.tar.bz2
Add NetBSD/amd64 native configuration:
* x86-64-tdep.h (amd64nbsd_r_reg_offset): Add extern declarations. * amd64nbsd-tdep.c: New file. * amd64nbsd-nat.c: New file. * amd64bsd-nat.c: New file. * config/i386/nbsd64.mh: New file. * config/i386/nbsd64.mt: New file. * configure.host: Add x86_64-*-netbsd*. * configure.tgt: Add x86_64-*-netbsd*. * Makefile.in (amd64bsd-nat.o, amd64nbsd-nat.o, amd64nbsd-tdep.o): New targets. * NEWS (New native configurations): Mention NetBSD/amd64.
Diffstat (limited to 'gdb/x86-64-tdep.h')
-rw-r--r--gdb/x86-64-tdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/x86-64-tdep.h b/gdb/x86-64-tdep.h
index e800a2f..17d2cdf 100644
--- a/gdb/x86-64-tdep.h
+++ b/gdb/x86-64-tdep.h
@@ -65,6 +65,9 @@ extern void x86_64_supply_fxsave (struct regcache *regcache, int regnum,
void x86_64_fill_fxsave (char *fxsave, int regnum);
+/* Variables exported from amd64nbsd-tdep.c. */
+extern int amd64nbsd_r_reg_offset[];
+
/* Variables exported from amd64fbsd-tdep.c. */
extern CORE_ADDR amd64fbsd_sigtramp_start;
extern CORE_ADDR amd64fbsd_sigtramp_end;