summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsrinivasa <srinivasa>2008-01-24 15:23:19 +0000
committersrinivasa <srinivasa>2008-01-24 15:23:19 +0000
commit21587d3dca57c6af4684995576adcfe98f594b28 (patch)
treeb851e8b3e8da89f1f959e3c4014589d5e1583e5d
parent25114db1ce9c65a1b6844b9541c28f6e960821d8 (diff)
downloadsystemtap-steved-21587d3dca57c6af4684995576adcfe98f594b28.tar.gz
systemtap-steved-21587d3dca57c6af4684995576adcfe98f594b28.tar.xz
systemtap-steved-21587d3dca57c6af4684995576adcfe98f594b28.zip
Autoconf file for x86/x86_64 for register rename patch by srinivasa@in.ibm.com
-rw-r--r--runtime/autoconf-x86-uniregs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/autoconf-x86-uniregs.c b/runtime/autoconf-x86-uniregs.c
new file mode 100644
index 00000000..25729c22
--- /dev/null
+++ b/runtime/autoconf-x86-uniregs.c
@@ -0,0 +1,6 @@
+#include <asm/ptrace.h>
+
+#if defined (__i386__) || defined (__x86_64__)
+struct pt_regs regs = {.ax = 0x0};
+#endif
+