Generate instruction-pointer offsets too.
git-svn-id: svn://svn.valgrind.org/vex/trunk@1113 8f6e269a-dfd6-0310-a8e1-e2731360e62c
diff --git a/auxprogs/genoffsets.c b/auxprogs/genoffsets.c
index 88ff8e2..bcb7ffe 100644
--- a/auxprogs/genoffsets.c
+++ b/auxprogs/genoffsets.c
@@ -33,6 +33,8 @@
printf("#define OFFSET_x86_ESP %d\n",
offsetof(VexGuestX86State,guest_ESP));
+ printf("#define OFFSET_x86_EIP %d\n",
+ offsetof(VexGuestX86State,guest_EIP));
printf("#define OFFSET_amd64_RAX %d\n",
@@ -56,5 +58,8 @@
printf("#define OFFSET_amd64_R10 %d\n",
offsetof(VexGuestAMD64State,guest_R10));
+ printf("#define OFFSET_amd64_RIP %d\n",
+ offsetof(VexGuestAMD64State,guest_RIP));
+
return 0;
}