This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/4593] New: kread() functions should provide better error messages
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 4 Jun 2007 19:34:56 -0000
- Subject: [Bug runtime/4593] New: kread() functions should provide better error messages
- Reply-to: sourceware-bugzilla at sourceware dot org
At the moment, all we get is "pointer dereference failed".
We should also see the pointer value, and could enjoy even
more information. The present tactic of setting context->last_error
to a static unchanged string would have to change. An easy
improvement would be to statically allocate an new error_buffer
string field in the context, which embedded-C code could sprintf
into and incidentally use to set the context->last_error.
--
Summary: kread() functions should provide better error messages
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: fche at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4593
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.