This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: loc2-test and stap disagree with each other
- From: Roland McGrath <roland at redhat dot com>
- To: Hien Nguyen <hien at us dot ibm dot com>
- Cc: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Mon, 10 Jul 2006 15:28:37 -0700 (PDT)
- Subject: Re: loc2-test and stap disagree with each other
> Looks like loc2c-test indicates that the *prev* and *next* variables are
> available.
It says they are in scope, i.e. it knows what variables you're talking
about. That doesn't mean their values are available at that PC location.
If that is the distinction that matters, then certainly stap should give a
more clear error message about it.
Did you try "loc2c-test -k 0x... prev pid"? You should always use that
(loc2c-test with identifier args) to debug $identifier resolution problems.
That step should thoroughly disambiguate loc2c bugs vs translator proper
bugs.
Thanks,
Roland