From 5c5099faf99e24038eda90d91d0efa59d482e440 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Mon, 27 Jul 2009 21:48:53 +0200 Subject: Mention where we looked and if we didn't find line info on statement probe. * tapsets.cxx (query_cu): When statement check fails and no line info available, mention the CU had no line info. --- tapsets.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tapsets.cxx') 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) -- cgit