[Bug testsuite/11722] New: on ppc, usymbols.exp should be probing syscall.rt_sigaction32, not syscall.rt_sigaction
dsmith at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Jun 18 19:19:00 GMT 2010
On ppc64, usymbols.exp is failing. The testcase probes 'syscall.rt_sigaction',
but because ppc64 has a 64-bit kernel but a 32-bit userspace, that will never
get hit. Instead 'syscall.rt_sigaction32' should (also) be probed, since that
will get hit on ppc64.
Note however, that it can't use the same probe handler as rt_sigaction because
'$act' has a different type:
rt_sigaction: const struct sigaction __user *act
rt_sigaction32: const struct sigaction32 __user *act
(Also note that that bug #11721 would apply here also - '$act' can't be accessed
directly since it is userspace memory, not kernel memory.)
--
Summary: on ppc, usymbols.exp should be probing
syscall.rt_sigaction32, not syscall.rt_sigaction
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: testsuite
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: dsmith at redhat dot com
GCC host triplet: ppc
http://sourceware.org/bugzilla/show_bug.cgi?id=11722
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list