This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: BZ 6701 - Improve error messages (updated-patch)
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: Rajan Arora <rarora at redhat dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Thu, 2 Oct 2008 12:46:49 -0400
- Subject: Re: BZ 6701 - Improve error messages (updated-patch)
- References: <48E29E22.4070708@redhat.com> <y0mej305s9k.fsf@ton.toronto.redhat.com> <48E4DCFB.2040002@redhat.com>
Hi -
> [...] Please have a look at the updated patch, and any further
> suggestions are more than welcome.
Thanks for going once more around. I am afraid I noticed one other
largish issue. That is the multiple-instance hard-coded use of of
session.user_file->input_contents to feed the source printer. That's
not right, since errors may occur associated with any stapfile. All
you would have to go on in general is what was given in the
semantic_error object (token pointers).
So what's probably needed here is an additional field in the token
object that points to the stapfile (or perhaps even to the file
contents directly, if identical std::string sharing works properly).
- FChE