summaryrefslogtreecommitdiffstats
path: root/tapset
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
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')
-rw-r--r--tapset/ChangeLog5
-rw-r--r--tapset/aux_syscalls.stp4
2 files changed, 9 insertions, 0 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index 3a0afe3b..7f15e61b 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,5 +1,10 @@
2007-10-09 Martin Hunt <hunt@redhat.com>
+ PR5153
+ * aux_syscalls.stp (_sighandler_str): No
+ sa_restorer field for IA64.
+2007-10-09 Martin Hunt <hunt@redhat.com>
+
* syscalls2.stp (sys_signal): Call
_sighandler_str().
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);
}