summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-04-12 11:03:19 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-04-12 11:03:19 -0400
commit1c86aa2adc1165906057cdde4cc7484468726fc4 (patch)
treee4da7047f20489b9fc4b11cf501d42cf59c4b283 /elaborate.cxx
parentb53c1feef55dc74501a90257e4beff6c1a9cf03b (diff)
parent48899faa2d1280f7715b0abf892fb8b4b5c8ff43 (diff)
downloadsystemtap-steved-1c86aa2adc1165906057cdde4cc7484468726fc4.tar.gz
systemtap-steved-1c86aa2adc1165906057cdde4cc7484468726fc4.tar.xz
systemtap-steved-1c86aa2adc1165906057cdde4cc7484468726fc4.zip
Merge branch 'master' into unwind
* master: 2008-04-11 David Smith <dsmith@redhat.com> 2008-04-11 David Smith <dsmith@redhat.com> 2008-04-11 David Smith <dsmith@redhat.com> PR2949: add missing line PR2949: listings mode (stap -l PROBE) PR6393: don't bother print build (configure) date any more, with reliable git ids PR6393: regenerate git_version.h at every make PR6393: git version tagging at build time 2008-04-09 David Smith <dsmith@redhat.com> 2008-04-04 Masami Hiramatsu <mhiramat@redhat.com> 2008-04-04 David Smith <dsmith@redhat.com> 2008-04-04 Masami Hiramatsu <mhiramat@redhat.com> removing another part of retired LKET removing abandoned experiment: safety/* disassembly/symbol checks Conflicts: .gitignore ChangeLog runtime/ChangeLog
Diffstat (limited to 'elaborate.cxx')
-rw-r--r--elaborate.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/elaborate.cxx b/elaborate.cxx
index 2d9fa7bc..1c41df64 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -1214,6 +1214,9 @@ systemtap_session::print_error (const semantic_error& e)
string message_str;
stringstream message;
+ // NB: we don't print error messages during listing mode.
+ if (listing_mode) return;
+
message << "semantic error: " << e.what ();
if (e.tok1 || e.tok2)
message << ": ";