summaryrefslogtreecommitdiffstats
path: root/dwflpp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dwflpp.cxx')
-rw-r--r--dwflpp.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/dwflpp.cxx b/dwflpp.cxx
index bfae1354..d05bdb97 100644
--- a/dwflpp.cxx
+++ b/dwflpp.cxx
@@ -21,6 +21,7 @@
#include "dwarf_wrappers.h"
#include "auto_free.h"
#include "hash.h"
+#include "rpm_finder.h"
#include <cstdlib>
#include <algorithm>
@@ -108,6 +109,9 @@ dwflpp::get_module_dwarf(bool required, bool report)
if (i)
msg += string(": ") + dwfl_errmsg (i);
+ /* add module_name to list to find rpm */
+ find_debug_rpms(sess, module_name.c_str());
+
if (required)
throw semantic_error (msg);
else