summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--tapsets.cxx9
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0036b1ed..4d02db5f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
+2008-05-22 Wenji Huang <wenji.huang@oracle.com>
+
+ * tapsets.cxx (iterate_over_functions): Fix .statement(NUM) regression.
+
2008-05-22 Ananth N Mavinakayanahalli <ananth@in.ibm.com>
+
* tapset/ppc64/registers.stp: Support powerpc register + arg lookup
* stapfuncs.5.in: Add powerpc bits; indicate scope of uarg_* access
diff --git a/tapsets.cxx b/tapsets.cxx
index f3f9b590..96999d26 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -2527,6 +2527,15 @@ dwflpp::iterate_over_functions (int (* callback)(Dwarf_Die * func, void * arg),
}
}
}
+ else if (q->has_statement_num) // searching all for kernel.statement
+ {
+ for (cu_function_cache_t::iterator it = v->begin(); it != v->end(); it++)
+ {
+ Dwarf_Die die = it->second;
+ rc = (*callback)(& die, data);
+ if (rc != DWARF_CB_OK) break;
+ }
+ }
else // not a wildcard and no match in this CU
{
// do nothing