public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Martin Hunt <hunt@redhat.com>
To: Hien Nguyen <hien@us.ibm.com>
Cc: "systemtap@sources.redhat.com" <systemtap@sources.redhat.com>
Subject: Re: returnval()
Date: Tue, 21 Feb 2006 08:22:00 -0000	[thread overview]
Message-ID: <1140510194.5372.9.camel@monkey2> (raw)
In-Reply-To: <43FA3EA6.4000807@us.ibm.com>

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






      parent reply	other threads:[~2006-02-21  8:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-20 22:11 returnval() Hien Nguyen
2006-02-20 22:18 ` returnval() Roland McGrath
2006-02-21  8:24   ` returnval() Martin Hunt
2006-02-21 20:44     ` returnval() Roland McGrath
2006-02-21  8:22 ` Martin Hunt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1140510194.5372.9.camel@monkey2 \
    --to=hunt@redhat.com \
    --cc=hien@us.ibm.com \
    --cc=systemtap@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).