summaryrefslogtreecommitdiffstats
path: root/tapset/aux_syscalls.stp
diff options
context:
space:
mode:
authorhunt <hunt>2007-10-09 18:00:16 +0000
committerhunt <hunt>2007-10-09 18:00:16 +0000
commit0b82b290bdff52527486d1e69150484e4925baf0 (patch)
treea50fcf45be3dec68889a8d53a4e14c5f82c53b93 /tapset/aux_syscalls.stp
parent91efed6aa599e40be9858e57ae0af03c15a7280b (diff)
downloadsystemtap-steved-0b82b290bdff52527486d1e69150484e4925baf0.tar.gz
systemtap-steved-0b82b290bdff52527486d1e69150484e4925baf0.tar.xz
systemtap-steved-0b82b290bdff52527486d1e69150484e4925baf0.zip
2007-10-09 Martin Hunt <hunt@redhat.com>
PR5153 * aux_syscalls.stp (_sighandler_str): No sa_restorer field for IA64.
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);
}