This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [RFC PATCH 1/2] Bug Translator 3016 : Error accessing members of anonymous structs / unions
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Prerna Saxena <prerna at linux dot vnet dot ibm dot com>
- Cc: systemtap at sourceware dot org
- Date: Fri, 29 Aug 2008 11:42:19 -0400
- Subject: Re: [RFC PATCH 1/2] Bug Translator 3016 : Error accessing members of anonymous structs / unions
- References: <48B7BE86.9070905@linux.vnet.ibm.com>
Prerna Saxena <prerna@linux.vnet.ibm.com> writes:
> This patch modifies tapsets.cxx to enable members of anonymous
> structs/ unions to be recognised by the systemtap translator.
> Pls let me know your comments..
It should be a nice improvement. The code needs some test cases, and
perhaps you could transcribe here "before & after" messages that could
be summarized also into src/NEWS.
The code that prints to clog needs to go back to throwing exceptions,
or if absolutely necessary, to session.print_{warning,error}.
- FChE