Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: bauerman@br.ibm.com (Thiago Jung Bauermann)
Cc: gdb-patches@sourceware.org, drow@false.org
Subject: Re: [rfc] Remove "function descriptor" handling on ppc32
Date: Wed, 14 May 2008 21:27:00 -0000	[thread overview]
Message-ID: <200805141824.m4EIOMOh025770@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <1210788963.617.82.camel@localhost.localdomain> from "Thiago Jung Bauermann" at May 14, 2008 03:16:03 PM

Thiago Jung Bauermann wrote:
> > The only reason I could imagine where this convert_from_func_ptr_addr 
> > version would ever apply is that the "...@plt" synthetic symbols used
> > to point to those PLT data entries.
> 
> I think that was was the problem. GDB wanted to set a breakpoint at
> _dl_debug_state, but since it pointed to a data section (the plt entry)
> it just flew by it.

Ah, I see.  That would explain it, and confirm that this code is indeed
no longer needed now.

> >   After the patch Alan just committed,
> > this is no longer the case, however --  @plt symbols now point to the
> > plt call stubs as well.
> 
> These are synthetic symbols right, so no backward compatibility issues
> there?

Correct.  We're now always linked against the new bfd, so we'll always
see the @plt symbols at their new location.

I'll go ahead and install the patch ...

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


  reply	other threads:[~2008-05-14 18:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14 18:16 Ulrich Weigand
2008-05-14 18:16 ` Daniel Jacobowitz
2008-05-14 19:19 ` Thiago Jung Bauermann
2008-05-14 21:27   ` Ulrich Weigand [this message]
2008-05-14 22:46 ` Thiago Jung Bauermann
2008-05-14 23:02   ` Ulrich Weigand
2008-05-14 23:02   ` 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=200805141824.m4EIOMOh025770@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=bauerman@br.ibm.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    /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