summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-08-06 10:41:46 +0200
committerMark Wielaard <mjw@redhat.com>2009-08-06 10:41:46 +0200
commit3d9889977397098d14c5be50f1dfef1c3eeb508f (patch)
tree7b9b3d345b5d126113ab3220ae93e5373b422d75 /testsuite/systemtap.base
parent68d47ee749911aa9babdfe37efd85db115e316be (diff)
downloadsystemtap-steved-3d9889977397098d14c5be50f1dfef1c3eeb508f.tar.gz
systemtap-steved-3d9889977397098d14c5be50f1dfef1c3eeb508f.tar.xz
systemtap-steved-3d9889977397098d14c5be50f1dfef1c3eeb508f.zip
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.
Diffstat (limited to 'testsuite/systemtap.base')
0 files changed, 0 insertions, 0 deletions