]> sourceware.org Git - systemtap.git/commitdiff
2006-01-18 Josh Stone <joshua.i.stone@intel.com>
authorjistone <jistone>
Wed, 18 Jan 2006 21:00:05 +0000 (21:00 +0000)
committerjistone <jistone>
Wed, 18 Jan 2006 21:00:05 +0000 (21:00 +0000)
* translate.cxx (c_unparser::visit_foreach_loop): improved the error
message when _stp_pmap_agg fails.

ChangeLog
translate.cxx

index b6d84edb3ffcf9f1d694cf58b0ff5db498c57ff5..c6874e4090b6b9d0ecc47cab36899a6c06f596bd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-18  Josh Stone  <joshua.i.stone@intel.com>
+
+       * translate.cxx (c_unparser::visit_foreach_loop): improved the error
+       message when _stp_pmap_agg fails.
+
 2006-01-18  Frank Ch. Eigler  <fche@elastic.org>
 
        * translate.cxx (c_unparser_assignment::visit_arrayindex):
index 4fb608db3cbf0528c80b549ea09cefb9812d97f4..b6f83540e5eee631b9465505e7c5bd4014fa93a5 100644 (file)
@@ -2022,7 +2022,7 @@ c_unparser::visit_foreach_loop (foreach_loop *s)
        {
          varlock_w agg_and_maybe_sort_guard(*this, mv);
          o->newline() << "if (unlikely(NULL == " << mv.calculate_aggregate() << "))";
-         o->newline(1) << "c->last_error = \"unknown error while aggregating " << mv << "\";";
+         o->newline(1) << "c->last_error = \"aggregation overflow in " << mv << "\";";
          o->indent(-1);
 
          // sort array if desired
This page took 0.049746 seconds and 5 git commands to generate.