This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug testsuite/11722] New: on ppc, usymbols.exp should be probing syscall.rt_sigaction32, not syscall.rt_sigaction
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 18 Jun 2010 18:16:52 -0000
- Subject: [Bug testsuite/11722] New: on ppc, usymbols.exp should be probing syscall.rt_sigaction32, not syscall.rt_sigaction
- Reply-to: sourceware-bugzilla at sourceware dot org
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.