summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 4a8432f7..bedb267a 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -21,6 +21,7 @@
#include "auto_free.h"
#include "hash.h"
#include "dwflpp.h"
+#include "setupdwfl.h"
#include <cstdlib>
#include <algorithm>
@@ -2606,7 +2607,7 @@ void dwarf_cast_expanding_visitor::visit_cast_op (cast_op* e)
dwflpp* dw;
try
{
- if (module.find('/') == string::npos)
+ if (! is_user_module (module))
{
// kernel or kernel module target
dw = db.get_kern_dw(s, module);