[Bug translator/10491] Compilation error on running para-callgraph.stp ia64/s390
mjw at redhat dot com
sourceware-bugzilla@sourceware.org
Thu Aug 6 08:56:00 GMT 2009
------- 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.
More information about the Systemtap
mailing list