summaryrefslogtreecommitdiffstats
path: root/runtime/loc2c-runtime.h
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2008-04-04 16:52:30 -0400
committerMasami Hiramatsu <mhiramat@redhat.com>2008-04-04 16:52:30 -0400
commitb916df9c10dddd0ae49a9029c8758759a319fb71 (patch)
tree10c84aebfd992f31d3dbffccbe4b10b81d995e6b /runtime/loc2c-runtime.h
parent5eba3ad6104a45c4bc6e1b3b2283f0fb05fbef87 (diff)
downloadsystemtap-steved-b916df9c10dddd0ae49a9029c8758759a319fb71.tar.gz
systemtap-steved-b916df9c10dddd0ae49a9029c8758759a319fb71.tar.xz
systemtap-steved-b916df9c10dddd0ae49a9029c8758759a319fb71.zip
2008-04-04 Masami Hiramatsu <mhiramat@redhat.com>
PR 6028 * translate.cxx (c_unparser::emit_common_header): Add unwaddr for caching unwound address. * tapsets.cxx (common_probe_entryfn_prologue): Clear unwaddr. * loc2c-runtime.h (fetch_register): Call ia64_fetch_register with the address of c->unwaddr. * regs-ia64.c (ia64_fetch_register): Don't unwind stack if it has already unwound stack in same probe.
Diffstat (limited to 'runtime/loc2c-runtime.h')
-rw-r--r--runtime/loc2c-runtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/loc2c-runtime.h b/runtime/loc2c-runtime.h
index 7ea1b1e4..66fd1e43 100644
--- a/runtime/loc2c-runtime.h
+++ b/runtime/loc2c-runtime.h
@@ -129,7 +129,7 @@
#undef fetch_register
#undef store_register
-#define fetch_register(regno) ia64_fetch_register(regno, c->regs)
+#define fetch_register(regno) ia64_fetch_register(regno, c->regs, &c->unwaddr)
#define store_register(regno,value) ia64_store_register(regno, c->regs, value)
#elif defined __x86_64__