From 9addf322a677eef2ee0efeca8bc41a9bda58de94 Mon Sep 17 00:00:00 2001 From: Jim Keniston Date: Mon, 5 May 2008 17:03:49 -0700 Subject: 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. --- translate.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'translate.cxx') 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"; -- cgit