summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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