From 8d6958765e6252c0dd8157f837b0005f83aa80cb Mon Sep 17 00:00:00 2001 From: guanglei Date: Tue, 1 Aug 2006 02:20:47 +0000 Subject: [PATCH] Bugzilla Bug 2422: module("*") probes fail with debug-info-less modules --- ChangeLog | 5 +++++ tapsets.cxx | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e9faa9279..729ae5b03 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-08-01 Li Guanglei + 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 * configure.ac, systemtap.spec.in: Bump version to 0.5.9. diff --git a/tapsets.cxx b/tapsets.cxx index 6d9c8c009..6d843d5ba 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); -- 2.43.5