.
[deliverable/binutils-gdb.git] / gdb / amd64nbsd-nat.c
index 4af22feb7f57c99d8d6f9d47871dda6d257d2482..df7ceb9e8612be03a15083348d08aa3bd16e1a1f 100644 (file)
@@ -1,6 +1,6 @@
 /* Native-dependent code for NetBSD/amd64.
 
-   Copyright 2003 Free Software Foundation, Inc.
+   Copyright 2003, 2004 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -23,7 +23,7 @@
 
 #include "gdb_assert.h"
 
-#include "x86-64-tdep.h"
+#include "amd64-tdep.h"
 #include "amd64-nat.h"
 
 /* Mapping between the general-purpose registers in NetBSD/amd64
@@ -47,8 +47,8 @@ static int amd64nbsd32_r_reg_offset[] =
   0 * 8,                       /* %edi */
   21 * 8,                      /* %eip */
   23 * 8,                      /* %eflags */
-  -1,                          /* %cs */
-  -1,                          /* %ss */
+  22 * 8,                      /* %cs */
+  25 * 8,                      /* %ss */
   18 * 8,                      /* %ds */
   17 * 8,                      /* %es */
   16 * 8,                      /* %fs */
This page took 0.024045 seconds and 4 git commands to generate.