summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-02-03 17:16:27 +0100
committerMark Wielaard <mjw@redhat.com>2009-02-03 17:16:27 +0100
commita8cf6a4550d0e9197e668177ae09643c81b31791 (patch)
treea9c0559690b4afaf286c8c3adea5854b8dc9fa38
parentbaaa6d4905cc95a2f6f1a9626c49790e427cd218 (diff)
downloadsystemtap-steved-a8cf6a4550d0e9197e668177ae09643c81b31791.tar.gz
systemtap-steved-a8cf6a4550d0e9197e668177ae09643c81b31791.tar.xz
systemtap-steved-a8cf6a4550d0e9197e668177ae09643c81b31791.zip
match_node::find_and_build disambiguate error messages.
-rw-r--r--ChangeLog5
-rw-r--r--elaborate.cxx3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a3e99781..87e72c10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-03 Mark Wielaard <mjw@redhat.com>
+
+ * elaborate.cxx (match_node::find_and_build): Disambiguate error
+ messages.
+
2009-02-02 Stan Cox <scox@redhat.com>
* NEWS, stapprobes.5.in: Add process.label.
diff --git a/elaborate.cxx b/elaborate.cxx
index 3b4c944c..5678e8a7 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -395,7 +395,8 @@ match_node::find_and_build (systemtap_session& s,
throw semantic_error(string("probe point mismatch at position ") +
lex_cast<string> (pos) +
- " (alternatives:" + alternatives + ")",
+ " (alternatives:" + alternatives + ")" +
+ " didn't find any wildcard matches",
loc->tok);
}
}