Generate offsets for all amd64 integer registers.
git-svn-id: svn://svn.valgrind.org/vex/trunk@1428 8f6e269a-dfd6-0310-a8e1-e2731360e62c
diff --git a/auxprogs/genoffsets.c b/auxprogs/genoffsets.c
index 8673a25..9e56f5e 100644
--- a/auxprogs/genoffsets.c
+++ b/auxprogs/genoffsets.c
@@ -88,14 +88,26 @@
printf("#define OFFSET_amd64_RAX %3d\n",
offsetof(VexGuestAMD64State,guest_RAX));
- printf("#define OFFSET_amd64_RDI %3d\n",
- offsetof(VexGuestAMD64State,guest_RDI));
+ printf("#define OFFSET_amd64_RBX %3d\n",
+ offsetof(VexGuestAMD64State,guest_RBX));
+
+ printf("#define OFFSET_amd64_RCX %3d\n",
+ offsetof(VexGuestAMD64State,guest_RCX));
+
+ printf("#define OFFSET_amd64_RDX %3d\n",
+ offsetof(VexGuestAMD64State,guest_RDX));
printf("#define OFFSET_amd64_RSI %3d\n",
offsetof(VexGuestAMD64State,guest_RSI));
- printf("#define OFFSET_amd64_RDX %3d\n",
- offsetof(VexGuestAMD64State,guest_RDX));
+ printf("#define OFFSET_amd64_RDI %3d\n",
+ offsetof(VexGuestAMD64State,guest_RDI));
+
+ printf("#define OFFSET_amd64_RSP %3d\n",
+ offsetof(VexGuestAMD64State,guest_RSP));
+
+ printf("#define OFFSET_amd64_RBP %3d\n",
+ offsetof(VexGuestAMD64State,guest_RBP));
printf("#define OFFSET_amd64_R8 %3d\n",
offsetof(VexGuestAMD64State,guest_R8));
@@ -106,6 +118,21 @@
printf("#define OFFSET_amd64_R10 %3d\n",
offsetof(VexGuestAMD64State,guest_R10));
+ printf("#define OFFSET_amd64_R11 %3d\n",
+ offsetof(VexGuestAMD64State,guest_R11));
+
+ printf("#define OFFSET_amd64_R12 %3d\n",
+ offsetof(VexGuestAMD64State,guest_R12));
+
+ printf("#define OFFSET_amd64_R13 %3d\n",
+ offsetof(VexGuestAMD64State,guest_R13));
+
+ printf("#define OFFSET_amd64_R14 %3d\n",
+ offsetof(VexGuestAMD64State,guest_R14));
+
+ printf("#define OFFSET_amd64_R15 %3d\n",
+ offsetof(VexGuestAMD64State,guest_R15));
+
printf("#define OFFSET_amd64_RIP %3d\n",
offsetof(VexGuestAMD64State,guest_RIP));