summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguanglei <guanglei>2006-08-01 02:20:47 +0000
committerguanglei <guanglei>2006-08-01 02:20:47 +0000
commit8d6958765e6252c0dd8157f837b0005f83aa80cb (patch)
tree35ba27d42ec6f41cc26e8c6d539c159feca73b9c
parent6fb1d19414d890f0da7a11324f8564e58948ed04 (diff)
downloadsystemtap-steved-8d6958765e6252c0dd8157f837b0005f83aa80cb.tar.gz
systemtap-steved-8d6958765e6252c0dd8157f837b0005f83aa80cb.tar.xz
systemtap-steved-8d6958765e6252c0dd8157f837b0005f83aa80cb.zip
Bugzilla Bug 2422: module("*") probes fail with debug-info-less modules
-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);