summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorJim Keniston <jkenisto@us.ibm.com>2008-05-05 17:03:49 -0700
committerJim Keniston <jkenisto@us.ibm.com>2008-05-05 17:03:49 -0700
commit9addf322a677eef2ee0efeca8bc41a9bda58de94 (patch)
tree6aed722c05e4de268544d211d0b1d321be92593b /translate.cxx
parent5edbdffdc71747c402b781b2720228406eda7666 (diff)
downloadsystemtap-steved-9addf322a677eef2ee0efeca8bc41a9bda58de94.tar.gz
systemtap-steved-9addf322a677eef2ee0efeca8bc41a9bda58de94.tar.xz
systemtap-steved-9addf322a677eef2ee0efeca8bc41a9bda58de94.zip
Replaced [u_]arg() with [u]int_arg(), [u]long_arg(), {s|u}32_arg(),
{s|u}64_arg(), etc. Added asmlinkage(), fastcall(), regparm(). Dealt with some surprises -- e.g., rax is ZERO-extended eax. Seems to work well with -m32 and -m64 user apps, and with a (small) dwarfless subset of syscall.stp.
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/translate.cxx b/translate.cxx
index c9ec094a..6aef37f0 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -877,6 +877,7 @@ c_unparser::emit_common_header ()
o->newline() << "unsigned long *unwaddr;";
// unwaddr is caching unwound address in each probe handler on ia64.
o->newline() << "struct kretprobe_instance *pi;";
+ o->newline() << "int regparm;";
o->newline() << "va_list *mark_va_list;";
o->newline() << "void *data;";
o->newline() << "#ifdef STP_TIMING";