From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14455 invoked by alias); 12 Jun 2006 08:39:23 -0000 Received: (qmail 14129 invoked by uid 48); 12 Jun 2006 08:38:36 -0000 Date: Mon, 12 Jun 2006 08:39:00 -0000 Message-ID: <20060612083836.14128.qmail@sourceware.org> From: "guanglei at cn dot ibm dot com" To: systemtap@sources.redhat.com In-Reply-To: <20060609125853.2738.guanglei@cn.ibm.com> References: <20060609125853.2738.guanglei@cn.ibm.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug runtime/2738] deref error on ppc64 X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q2/txt/msg00601.txt.bz2 ------- Additional Comments From guanglei at cn dot ibm dot com 2006-06-12 08:38 ------- Created an attachment (id=1080) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1080&action=view) stap -p3 generated .c file attached .c file is generated by stap -p3 a.stp a.stp is: probe kernel.function("sys_read").return { printf("%p\n", $return) } "stap a.stp" will give an error: root:/home/root> stap a.stp ERROR: pointer dereference fault near identifier '$return' at a.stp:3:17 WARNING: Number of errors: 1, skipped probes: 0 objdump of sys_read: c0000000000b380c <.sys_read>: c0000000000b380c: 7c 08 02 a6 mflr r0 c0000000000b3810: fb 81 ff e0 std r28,-32(r1) c0000000000b3814: fb a1 ff e8 std r29,-24(r1) c0000000000b3818: 7c 9c 23 78 mr r28,r4 c0000000000b381c: 7c bd 2b 78 mr r29,r5 c0000000000b3820: f8 01 00 10 std r0,16(r1) c0000000000b3824: f8 21 ff 61 stdu r1,-160(r1) c0000000000b3828: 38 81 00 70 addi r4,r1,112 c0000000000b382c: 48 00 11 e5 bl c0000000000b4a10 <.fget_light> c0000000000b3830: 60 00 00 00 nop c0000000000b3834: 7f a5 eb 78 mr r5,r29 c0000000000b3838: 7f 84 e3 78 mr r4,r28 c0000000000b383c: 38 c1 00 78 addi r6,r1,120 c0000000000b3840: 3b 80 ff f7 li r28,-9 -- http://sourceware.org/bugzilla/show_bug.cgi?id=2738 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.