diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-07-27 21:48:53 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-07-27 21:48:53 +0200 |
commit | 5c5099faf99e24038eda90d91d0efa59d482e440 (patch) | |
tree | d3596a6742da8b2dc214d0e19fdf23bd12c4b1e0 /tapsets.cxx | |
parent | e38517841d86cfcbdeab66d5921fbcc3cbc92a10 (diff) | |
download | systemtap-steved-5c5099faf99e24038eda90d91d0efa59d482e440.tar.gz systemtap-steved-5c5099faf99e24038eda90d91d0efa59d482e440.tar.xz systemtap-steved-5c5099faf99e24038eda90d91d0efa59d482e440.zip |
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.
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 3 |
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) |