This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: returnval()


On Mon, 2006-02-20 at 14:11 -0800, Hien Nguyen wrote:
> Does anyone know why returnval does not compile on ppc64?

Yeah, that was a mistake. I had a function called returnval() which was
x86 and x86_64 only that I was using. I should probably have been using
retval() instead, but I ended up checking in returnval() too. 

We need to standardize on one. retval() came first, but returnval() is
documented. Maybe they can go away after PR 1132 is fixed, but we need
only one until then. Interest. "man stapprobes" documents a mysterious
"$retvalue" which is apparently not implemented yet.

retval(), $retval
returnval(), $returnval
retvalue(), $retvalue

I'm confused. For now, I updated returnval() to be the same as retval(),
so it should work for ppc64.

Martin







Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]