summaryrefslogtreecommitdiffstats
path: root/dwflpp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dwflpp.cxx')
-rw-r--r--dwflpp.cxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/dwflpp.cxx b/dwflpp.cxx
index 0ff6ac16..c0def432 100644
--- a/dwflpp.cxx
+++ b/dwflpp.cxx
@@ -797,8 +797,7 @@ dwflpp::cu_function_caching_callback (Dwarf_Die* func, void *arg)
int
dwflpp::iterate_over_functions (int (* callback)(Dwarf_Die * func, base_query * q),
- base_query * q, const string& function,
- bool has_statement_num)
+ base_query * q, const string& function)
{
int rc = DWARF_CB_OK;
assert (module);
@@ -848,14 +847,6 @@ dwflpp::iterate_over_functions (int (* callback)(Dwarf_Die * func, base_query *
}
}
}
- else if (has_statement_num) // searching all for kernel.statement
- {
- for (it = v->begin(); it != v->end(); ++it)
- {
- rc = (*callback)(&it->second, q);
- if (rc != DWARF_CB_OK) break;
- }
- }
else // not a wildcard and no match in this CU
{
// do nothing