This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/13272] New: printf "quoting" broken
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 07 Oct 2011 12:48:52 +0000
- Subject: [Bug translator/13272] New: printf "quoting" broken
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13272
Bug #: 13272
Summary: printf "quoting" broken
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap@sourceware.org
ReportedBy: mjw@redhat.com
Classification: Unclassified
Since the new PR3217: Compiled printf support went in the following is broken:
$ stap -e 'probe begin { printf("\"quote\\this\"\n"); exit(); }'
"quote\this"
Now results in:
$ /usr/local/install/systemtap/bin/stap -e 'probe begin {
printf("\"quote\\this\"\n"); exit(); }'
/tmp/staprnCOab/stap_b365e1c33dd4dbc9188f04b4ec90e45b_817.c: In function
âprobe_1989â:
/tmp/staprnCOab/stap_b365e1c33dd4dbc9188f04b4ec90e45b_817.c:104:21: error:
expected â)â before âquoteâ
/tmp/staprnCOab/stap_b365e1c33dd4dbc9188f04b4ec90e45b_817.c:104:21: error:
stray â\â in program
/tmp/staprnCOab/stap_b365e1c33dd4dbc9188f04b4ec90e45b_817.c:104:21: error:
stray â\â in program
make[1]: *** [/tmp/staprnCOab/stap_b365e1c33dd4dbc9188f04b4ec90e45b_817.o]
Error 1
make: *** [_module_/tmp/staprnCOab] Error 2
Warning: make exited with status: 2
Pass 4: compilation failed. Try again with another '--vp 0001' option.
This can also be seen in the buildok.exo testsuite:
FAIL: buildok/printf.stp
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.