summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfche <fche>2008-01-09 20:26:31 +0000
committerfche <fche>2008-01-09 20:26:31 +0000
commit464c2dcbdb2e1e2334d309e5645306b0a1798c1a (patch)
tree2742d42e748a19143db5b99dfad69ea3ee0d03a4
parent0310565fd41e6f884b13d56c2531e7d3305341f0 (diff)
downloadsystemtap-steved-464c2dcbdb2e1e2334d309e5645306b0a1798c1a.tar.gz
systemtap-steved-464c2dcbdb2e1e2334d309e5645306b0a1798c1a.tar.xz
systemtap-steved-464c2dcbdb2e1e2334d309e5645306b0a1798c1a.zip
improve missing kernel-debuginfo message
-rw-r--r--ChangeLog5
-rw-r--r--tapsets.cxx7
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 07eb2c2a..3d9a0f2b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-09 Frank Ch. Eigler <fche@elastic.org>
+
+ * tapsets.cxx (dwflpp::setup): Improve missing kernel-debuginfo
+ message.
+
2008-01-02 Frank Ch. Eigler <fche@elastic.org>
From Mark McLoughlin <markmc@redhat.com>:
diff --git a/tapsets.cxx b/tapsets.cxx
index d2cd3bcd..ebc07ba3 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -746,7 +746,12 @@ struct dwflpp
/* selection predicate */
NULL);
if (debuginfo_needed)
- dwfl_assert ("missing kernel debuginfo", rc);
+ dwfl_assert (string("missing kernel ") +
+ sess.kernel_release +
+ string(" ") +
+ sess.architecture +
+ string(" debuginfo"),
+ rc);
// XXX: it would be nice if we could do a single
// ..._report_offline call for an entire systemtap script, so