* x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
authorMichal Ludvig <mludvig@suse.cz>
Sun, 10 Mar 2002 18:16:26 +0000 (18:16 +0000)
committerMichal Ludvig <mludvig@suse.cz>
Sun, 10 Mar 2002 18:16:26 +0000 (18:16 +0000)
        * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
        from x86-64-tdep.h

gdb/ChangeLog
gdb/x86-64-linux-nat.c
gdb/x86-64-tdep.h

index f398fc8d21d7be21af1a8d1a5fd3abd7dba93f27..14333ced900ec97d92f2ec779df63cba5bd805e6 100644 (file)
@@ -1,3 +1,9 @@
+2002-03-10  Michal Ludvig  <mludvig@suse.cz>
+
+       * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
+       * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here 
+       from x86-64-tdep.h
+
 2002-03-10  Daniel Jacobowitz  <drow@mvista.com>
            Don Howard <dhoward@redhat.com>
 
index 3fb24dd5ce5fa7ac283ba5d2260fb2dd6635c0d4..aafd2bed33ee825ba1ef7c990504736c03e77433 100644 (file)
 #include <sys/debugreg.h>
 #include <sys/syscall.h>
 #include <sys/procfs.h>
+#include <sys/reg.h>
+
+/* Mapping between the general-purpose registers in `struct user'
+   format and GDB's register array layout.  */
+
+static int x86_64_regmap[] = {
+  RAX, RDX, RCX, RBX,
+  RSI, RDI, RBP, RSP,
+  R8, R9, R10, R11,
+  R12, R13, R14, R15,
+  RIP, EFLAGS
+};
 
 static unsigned long
 x86_64_linux_dr_get (int regnum)
index d04da8be3334c19733fef4a5a5c7164e5b2ae041..83828cf3c0bb343bc87a5ffbfdc1d9bef9906625 100644 (file)
 #define X86_64_TDEP_H
 
 #include "i386-tdep.h"
-#include <sys/reg.h>
-
-/* Mapping between the general-purpose registers in `struct user'
-   format and GDB's register array layout.  */
-
-static int x86_64_regmap[] = {
-  RAX, RDX, RCX, RBX,
-  RSI, RDI, RBP, RSP,
-  R8, R9, R10, R11,
-  R12, R13, R14, R15,
-  RIP, EFLAGS
-};
 
 /* Number of all registers */
 #define X86_64_NUM_REGS (51)
This page took 0.029121 seconds and 4 git commands to generate.