summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tapsets.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 752a9ddf..9186ba82 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -1405,6 +1405,9 @@ query_cu (Dwarf_Die * cudie, void * arg)
<< " does not match the beginning of a statement";
if (address_line)
msg << " (try 0x" << hex << lineaddr << ")";
+ else
+ msg << " (no line info found for '" << q->dw.cu_name
+ << "', in module '" << q->dw.module_name << "')";
if (! q->sess.guru_mode)
throw semantic_error(msg.str());
else if (! q->sess.suppress_warnings)