summaryrefslogtreecommitdiffstats
path: root/tapset/aux_syscalls.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/aux_syscalls.stp')
-rw-r--r--tapset/aux_syscalls.stp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp
index aa3e078e..6d6fa311 100644
--- a/tapset/aux_syscalls.stp
+++ b/tapset/aux_syscalls.stp
@@ -1829,8 +1829,12 @@ function _struct_sigaction_u:string(uaddr:long)
strlcat (THIS->__retvalue, ", ", MAXSTRINGLEN);
_stp_lookup_or_str(_stp_sa_flags_list, act.sa_flags, THIS->__retvalue, MAXSTRINGLEN);
strlcat (THIS->__retvalue, ", ", MAXSTRINGLEN);
+#if !defined (__ia64__)
len = strlen(THIS->__retvalue);
_stp_snprintf(THIS->__retvalue + len, MAXSTRINGLEN - len, "0x%lx, [", (long)act.sa_restorer);
+#else
+ strlcat (THIS->__retvalue, "[", MAXSTRINGLEN);
+#endif
_stp_sigset_str(&act.sa_mask, THIS->__retvalue, MAXSTRINGLEN);
strlcat (THIS->__retvalue, "]", MAXSTRINGLEN);
}