Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFC] pb unwinding from pthread_cond_wait on ppc-linux (RFA?)
Date: Wed, 08 Dec 2004 16:51:00 -0000	[thread overview]
Message-ID: <20041208163442.GA30584@nevyn.them.org> (raw)
In-Reply-To: <20041208163211.GY2524@adacore.com>

On Wed, Dec 08, 2004 at 05:32:11PM +0100, Joel Brobecker wrote:
> Gah? Do I understand correctly that the code jumps to 0xffed01c
> only to return back?

Precisely!  That's what I thought it would be.  It's trying to load lr
with the address of @+16, so that the function can access PIC data
using PC-relative displacement.

Take a look at i386-tdep.c.  It handles calls to a return sequence
specially in the prologue analyzer.  That may be a better choice than
blindly allowing calls.

(Does this obsolete the "branch in first three insns" check?  I'm not
sure if there are other possible reasons for that.)

-- 
Daniel Jacobowitz


  reply	other threads:[~2004-12-08 16:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-08 15:59 Joel Brobecker
2004-12-08 16:32 ` Daniel Jacobowitz
2004-12-08 16:34   ` Joel Brobecker
2004-12-08 16:51     ` Daniel Jacobowitz [this message]
2004-12-09 17:23       ` Joel Brobecker
2005-02-09 17:08         ` Joel Brobecker
2005-06-17  4:07           ` Daniel Jacobowitz
2006-10-11 16:03             ` Joel Brobecker

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=20041208163442.GA30584@nevyn.them.org \
    --to=drow@false.org \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@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