This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10491] Compilation error on running para-callgraph.stp ia64/s390
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 6 Aug 2009 08:56:47 -0000
- Subject: [Bug translator/10491] Compilation error on running para-callgraph.stp ia64/s390
- References: <20090806072540.10491.maranp@linux.vnet.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mjw at redhat dot com 2009-08-06 08:56 -------
Could you try out the patch I just committed?
commit 3d9889977397098d14c5be50f1dfef1c3eeb508f
Author: Mark Wielaard <mjw@redhat.com>
Date: Thu Aug 6 10:41:46 2009 +0200
PR10491 Don't assign to REG_IP if it isn't an lvalue (s390 and ia64).
To fixup REG_IP to show the correct value after a [ku]probe trap we
assigned the address of the actual instruction pointer of the probed
instruction. That doesn't work on architectures, s390 and ia64, where
REG_IP is not a simple lvalue. Just don't try to fixup the address in
those cases. If this isn't enough, the uprobe_stmt_num.exp testcase
will point this out.
* runtime/regs.h: Define REG_IP_LVALUE for x86_64, i386, powerpc64 and arm.
* tapsets.cxx (dwarf_derived_probe_group::emit_module_decls): Only fixup
REG_IP when REG_IP_LVALUE is defined.
(uprobe_derived_probe_group::emit_module_decls): Likewise.
(kprobe_derived_probe_group::emit_module_decls): Likewise.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|Compilation error on running|Compilation error on running
|para-callgraph.stp |para-callgraph.stp ia64/s390
http://sourceware.org/bugzilla/show_bug.cgi?id=10491
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.