public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/12032] New: 'stap -l' doesn't report invalid syntax
@ 2010-09-17 18:46 dsmith at redhat dot com
  2010-09-17 18:49 ` [Bug translator/12032] " fche at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dsmith at redhat dot com @ 2010-09-17 18:46 UTC (permalink / raw)
  To: systemtap

When looking for static user markers I made a typo:

# stap -l 'process("foo").mard("*")'

('mard' instead of 'mark').

Instead of an error, systemtap just silently exited.  This is wrong - I should
have gotten a syntax error.

-- 
           Summary: 'stap -l' doesn't report invalid syntax
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: dsmith at redhat dot com


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug translator/12032] 'stap -l' doesn't report invalid syntax
  2010-09-17 18:46 [Bug translator/12032] New: 'stap -l' doesn't report invalid syntax dsmith at redhat dot com
@ 2010-09-17 18:49 ` fche at redhat dot com
  2010-09-17 19:00 ` dsmith at redhat dot com
  2010-09-17 19:07 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2010-09-17 18:49 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-09-17 18:49 -------
stap -l is documented to exit with a non-zero RC for no matches,
and never to print error messages.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug translator/12032] 'stap -l' doesn't report invalid syntax
  2010-09-17 18:46 [Bug translator/12032] New: 'stap -l' doesn't report invalid syntax dsmith at redhat dot com
  2010-09-17 18:49 ` [Bug translator/12032] " fche at redhat dot com
@ 2010-09-17 19:00 ` dsmith at redhat dot com
  2010-09-17 19:07 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dsmith at redhat dot com @ 2010-09-17 19:00 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From dsmith at redhat dot com  2010-09-17 19:00 -------
(In reply to comment #1)
> stap -l is documented to exit with a non-zero RC for no matches,
> and never to print error messages.

I'll agree that 'stap -l' is working as documented.  However, that doesn't make
the behaviour correct.

Syntax errors should be reported.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug translator/12032] 'stap -l' doesn't report invalid syntax
  2010-09-17 18:46 [Bug translator/12032] New: 'stap -l' doesn't report invalid syntax dsmith at redhat dot com
  2010-09-17 18:49 ` [Bug translator/12032] " fche at redhat dot com
  2010-09-17 19:00 ` dsmith at redhat dot com
@ 2010-09-17 19:07 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2010-09-17 19:07 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-09-17 19:06 -------


*** This bug has been marked as a duplicate of 12033 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |DUPLICATE


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

end of thread, other threads:[~2010-09-17 19:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-17 18:46 [Bug translator/12032] New: 'stap -l' doesn't report invalid syntax dsmith at redhat dot com
2010-09-17 18:49 ` [Bug translator/12032] " fche at redhat dot com
2010-09-17 19:00 ` dsmith at redhat dot com
2010-09-17 19:07 ` fche 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).