From: Joel Brobecker <brobecker@adacore.com>
To: Aleksandar Ristovski <aristovski@qnx.com>,
gdb-patches@sources.redhat.com,
Jerome Guitton <guitton@adacore.com>
Subject: Re: Powerpc skip prologue
Date: Sun, 10 Aug 2008 02:45:00 -0000 [thread overview]
Message-ID: <20080810024455.GF4936@adacore.com> (raw)
In-Reply-To: <20080809161131.GA9444@caradoc.them.org>
> Could you test an alternative for me? The patch from my December
> message, but without rs6000_force_frame_sniffer, the
> rs6000_gdbarch_init change, or the new testcase. I believe that will
> cover the same cases as your patch, plus several others. This is a
> slightly larger portion of the patch than Aleksandar reposted earlier.
Sure!
> 2008-08-09 Daniel Jacobowitz <dan@codesourcery.com>
>
> * rs6000-tdep.c (struct rs6000_framedata): Add gpr_mask, used_bl,
> lr_register.
> (rs6000_in_function_epilogue_p): Check for bctr.
> (skip_prologue): Initialize lr_register. Set lr_reg to a register
> number. Set gpr_mask and used_bl. Continue scanning while some
> expected registers are not saved. Set lr_register if LR is not
> stored.
> (rs6000_frame_cache): Handle gpr_mask and lr_register.
>
> * gdb.arch/powerpc-prologue.exp: Correct saved registers.
This tested OK on ppc-linux :-).
--
Joel
next prev parent reply other threads:[~2008-08-10 2:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-28 20:59 Aleksandar Ristovski
2008-08-09 14:17 ` Joel Brobecker
2008-08-09 16:12 ` Daniel Jacobowitz
2008-08-10 2:45 ` Joel Brobecker [this message]
2008-08-18 10:10 ` Joel Brobecker
2008-08-18 12:35 ` Daniel Jacobowitz
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=20080810024455.GF4936@adacore.com \
--to=brobecker@adacore.com \
--cc=aristovski@qnx.com \
--cc=gdb-patches@sources.redhat.com \
--cc=guitton@adacore.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