aboutsummaryrefslogtreecommitdiff
path: root/gdb/x86-64-tdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/x86-64-tdep.h')
-rw-r--r--gdb/x86-64-tdep.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/x86-64-tdep.h b/gdb/x86-64-tdep.h
index 83828cf..d15b8e7 100644
--- a/gdb/x86-64-tdep.h
+++ b/gdb/x86-64-tdep.h
@@ -25,11 +25,8 @@
#include "i386-tdep.h"
-/* Number of all registers */
-#define X86_64_NUM_REGS (51)
-
-/* Number of general registers. */
-#define X86_64_NUM_GREGS (18)
+extern int x86_64_num_regs;
+extern int x86_64_num_gregs;
gdbarch_frame_saved_pc_ftype x86_64_linux_frame_saved_pc;
gdbarch_saved_pc_after_call_ftype x86_64_linux_saved_pc_after_call;