From: Andrew Cagney <cagney@gnu.org>
To: Chris Zankel <zankel@tensilica.com>
Cc: gdb@sources.redhat.com
Subject: Re: Extract the return value in finish_command on Xtensa.
Date: Wed, 14 Jul 2004 19:40:00 -0000 [thread overview]
Message-ID: <40F58BBA.5060300@gnu.org> (raw)
In-Reply-To: <40F31BA9.2060101@tensilica.com>
> I am working on a port of GDB to the Xtensa architecture.
>
> Unfortunately, it is impossible on Xtensa to extract the return value once the 'callee' has returned to the 'caller' without analyzing the call instruction (if there was one). Depending on the call instruction, the return value can be in register a6, a10, oder a14.
Puzzled expression. The ABI should specify which return-value
convention will be used?
I suspect you'll need to explain a little more about your architecture.
Andrew
next prev parent reply other threads:[~2004-07-14 19:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-12 23:38 Chris Zankel
2004-07-14 19:40 ` Andrew Cagney [this message]
2004-07-14 20:37 ` Daniel Jacobowitz
2004-07-15 14:36 ` Andrew Cagney
2004-07-15 14:42 ` Daniel Jacobowitz
2004-07-15 17:58 ` Chris Zankel
2004-07-18 21:49 ` Andrew Cagney
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=40F58BBA.5060300@gnu.org \
--to=cagney@gnu.org \
--cc=gdb@sources.redhat.com \
--cc=zankel@tensilica.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