public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/13272] New: printf "quoting" broken
@ 2011-10-07 12:49 mjw at redhat dot com
  2011-10-07 16:09 ` [Bug translator/13272] " jistone at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: mjw at redhat dot com @ 2011-10-07 12:49 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug translator/13272] printf "quoting" broken
  2011-10-07 12:49 [Bug translator/13272] New: printf "quoting" broken mjw at redhat dot com
@ 2011-10-07 16:09 ` jistone at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: jistone at redhat dot com @ 2011-10-07 16:09 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=13272

Josh Stone <jistone at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |jistone at redhat dot com
         AssignedTo|systemtap at sourceware dot |jistone at redhat dot com
                   |org                         |

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-07 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-07 12:49 [Bug translator/13272] New: printf "quoting" broken mjw at redhat dot com
2011-10-07 16:09 ` [Bug translator/13272] " jistone at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).