summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--tapsets.cxx4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e9faa927..729ae5b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-01 Li Guanglei <guanglei@cn.ibm.com>
+ PR 2422
+ * tapsets.cxx: calling get_module_dwarf(false) to give a
+ warning to those modules without debuginfo and skip them
+
2006-07-19 Roland McGrath <roland@redhat.com>
* configure.ac, systemtap.spec.in: Bump version to 0.5.9.
diff --git a/tapsets.cxx b/tapsets.cxx
index 6d9c8c00..6d843d5b 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -555,7 +555,7 @@ dwflpp
}
- void get_module_dwarf(bool required = true)
+ void get_module_dwarf(bool required = false)
{
if (!module_dwarf)
module_dwarf = dwfl_module_getdwarf(module, &module_bias);
@@ -582,7 +582,7 @@ dwflpp
void limit_search_to_function_pattern(string const & pattern)
{
- get_module_dwarf(true);
+ get_module_dwarf(false);
cache.select_die_subsets(module_dwarf, pattern,
pattern_limited_cus,
pattern_limited_funcs);