aboutsummaryrefslogtreecommitdiff
path: root/gdb/x86-64-tdep.h
diff options
context:
space:
mode:
authorMichal Ludvig <mludvig@suse.cz>2002-03-10 18:16:26 +0000
committerMichal Ludvig <mludvig@suse.cz>2002-03-10 18:16:26 +0000
commit33a0a2ac447b41041f76f08147f7783092a9b9c0 (patch)
treef7e674d1ff919da2676fe672e4b2f328534c8bd5 /gdb/x86-64-tdep.h
parentdd824b049bf279d47d8bcae751529d8495f03542 (diff)
downloadfsf-binutils-gdb-33a0a2ac447b41041f76f08147f7783092a9b9c0.zip
fsf-binutils-gdb-33a0a2ac447b41041f76f08147f7783092a9b9c0.tar.gz
fsf-binutils-gdb-33a0a2ac447b41041f76f08147f7783092a9b9c0.tar.bz2
* 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
Diffstat (limited to 'gdb/x86-64-tdep.h')
-rw-r--r--gdb/x86-64-tdep.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/x86-64-tdep.h b/gdb/x86-64-tdep.h
index d04da8b..83828cf 100644
--- a/gdb/x86-64-tdep.h
+++ b/gdb/x86-64-tdep.h
@@ -24,18 +24,6 @@
#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)