This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/12138] sdt_misc.exp fails most ptr types on i686
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: Wed, 20 Oct 2010 00:58:26 +0000
- Subject: [Bug translator/12138] sdt_misc.exp fails most ptr types on i686
- Auto-submitted: auto-generated
- References: <bug-12138-1110@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12138
--- Comment #1 from Josh Stone <jistone at redhat dot com> 2010-10-20 00:58:19 UTC ---
The test isn't very helpful about diagnostics, but I'll pick the first FAIL:
>From sdt_types.c:
char *ptr_char_var = &char_var;
STAP_PROBE2(provider,ptr_char_var,ptr_char_var,&char_var);
>From sdt_types.stp:
probe process(@1).mark("ptr_char_var") {
if ($arg1 != $arg2)
printf("FAIL: ptr_char_var\n")
else
printf("PASS: ptr_char_var\n")
}
$ stap -c ./sdt_types.x -e 'probe process("./sdt_types.x").mark("ptr_char_var")
{ printf("%p %p\n", $arg1, $arg2) }'
0xffffffffbf81541a 0xbf81541a
Along the way, the sign got extended...
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.