From 377b88310b59601c0d967c55bd6a46ec024dc2de Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 28 Jul 2005 16:12:38 +0000 Subject: 2005-07-28 Frank Ch. Eigler translator/1120 translator/1123 * elaborate.cxx (semantic_pass_symbols): Print a more helpful error message around exceptions. * elaborate.h (systemtap_session): Add guru_mode field. * main.cxx (main): Initialize it to false. Add version-sensitive script library searching. Add more failure messages. * tapsets.cxx (dwflpp_assert): Add a decorative text parameter. Update callers. --- elaborate.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'elaborate.cxx') diff --git a/elaborate.cxx b/elaborate.cxx index f1f0cede..ca5237df 100644 --- a/elaborate.cxx +++ b/elaborate.cxx @@ -617,6 +617,9 @@ semantic_pass_symbols (systemtap_session& s) } catch (const semantic_error& e) { + cerr << "while resolving probe point list:" << endl; + for (unsigned k=0; klocations.size(); k++) + cerr << " " << *p->locations[k] << endl; s.print_error (e); // dps.erase (dps.begin(), dps.end()); } -- cgit