From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8478 invoked by alias); 4 Jun 2007 19:35:05 -0000 Received: (qmail 8361 invoked by uid 48); 4 Jun 2007 19:34:56 -0000 Date: Mon, 04 Jun 2007 19:35:00 -0000 From: "fche at redhat dot com" To: systemtap@sources.redhat.com Message-ID: <20070604193455.4593.fche@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug runtime/4593] New: kread() functions should provide better error messages X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00466.txt.bz2 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.