From: Aleksandar Ristovski <aristovski@qnx.com>
To: gdb@sources.redhat.com
Subject: Re: PowerPC prologue analysis
Date: Mon, 28 Jul 2008 21:08:00 -0000 [thread overview]
Message-ID: <g6la6v$6pu$1@ger.gmane.org> (raw)
In-Reply-To: <20080728201312.GA3911@caradoc.them.org>
Daniel Jacobowitz wrote:
> On Mon, Jul 28, 2008 at 04:09:54PM -0400, Aleksandar Ristovski wrote:
>> I am not very familiar with PowerPC ABI, but from what I gather reading
>> the "function call" section, but can not see where is it stated that if
>> r30 is saved, then r31 must be saved too? But again, I haven't studied the
>> ABI very thoroughly and might be missing that line.
>
> Might want to look at this patch:
>
> http://sourceware.org/ml/gdb-patches/2007-12/msg00111.html
>
Thanks for the link! I briefly looked at the patch and it seems to address some of the things I am talking about (r30-r31 issue) but the comment still reads:
+ All gpr's from saved_gpr to gpr31 are saved (except during the
+ prologue). */
Is that in the ABI? I would think that if it is, then the code I am looking at is not according to it (gcc issue or just me not understanding powerpc assembly?).
next prev parent reply other threads:[~2008-07-28 20:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-28 20:13 Aleksandar Ristovski
2008-07-28 20:29 ` Daniel Jacobowitz
2008-07-28 21:08 ` Aleksandar Ristovski [this message]
2008-07-29 1:46 ` Daniel Jacobowitz
2008-07-29 14:10 ` Aleksandar Ristovski
2008-07-29 15:42 ` Aleksandar Ristovski
2008-07-29 15:47 ` Daniel Jacobowitz
2008-07-29 16:52 ` Aleksandar Ristovski
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='g6la6v$6pu$1@ger.gmane.org' \
--to=aristovski@qnx.com \
--cc=gdb@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