aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-tdep.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-04-22 20:02:55 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-04-22 20:02:55 +0000
commit6cd6a2aec631174856a2f68a8323427f78f7edc3 (patch)
treebd31d3cecaebe656d6a20b71d8e58159210b0469 /gdb/amd64-tdep.h
parent4c374409953d70028b6835c6b8fef1259fd67d84 (diff)
downloadgdb-6cd6a2aec631174856a2f68a8323427f78f7edc3.zip
gdb-6cd6a2aec631174856a2f68a8323427f78f7edc3.tar.gz
gdb-6cd6a2aec631174856a2f68a8323427f78f7edc3.tar.bz2
Remove amd64_linux_gregset64_reg_offset.
2010-04-22 H.J. Lu <hongjiu.lu@intel.com> * amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Removed. (_initialize_amd64_linux_nat): Replace amd64_linux_gregset64_reg_offset with amd64_linux_gregset_reg_offset. * amd64-linux-tdep.c (amd64_linux_gregset_reg_offset): Make it global. * amd64-tdep.h (amd64_linux_gregset_reg_offset): New.
Diffstat (limited to 'gdb/amd64-tdep.h')
-rw-r--r--gdb/amd64-tdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/amd64-tdep.h b/gdb/amd64-tdep.h
index 9f07dda..e67106d 100644
--- a/gdb/amd64-tdep.h
+++ b/gdb/amd64-tdep.h
@@ -109,6 +109,9 @@ void amd64_classify (struct type *type, enum amd64_reg_class class[2]);
+/* Variables exported from amd64-linux-tdep.c. */
+extern int amd64_linux_gregset_reg_offset[];
+
/* Variables exported from amd64nbsd-tdep.c. */
extern int amd64nbsd_r_reg_offset[];