Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: David Miller <davem@davemloft.net>
Cc: drow@false.org, ppluzhnikov@google.com,
		gdb-patches@sourceware.org, dje@google.com,
	msnyder@specifix.com
Subject: Re: [RFC] Fix for mishandling of "break  'pthread_create@GLIBC_2.2.5'"
Date: Wed, 14 May 2008 18:05:00 -0000	[thread overview]
Message-ID: <je7idxux50.fsf@sykes.suse.de> (raw)
In-Reply-To: <20080513.212144.50306766.davem@davemloft.net> (David Miller's 	message of "Tue, 13 May 2008 21:21:44 -0700 (PDT)")

David Miller <davem@davemloft.net> writes:

> From: Daniel Jacobowitz <drow@false.org>
> Date: Tue, 13 May 2008 22:46:40 -0400
>
>> On Tue, May 13, 2008 at 06:10:50PM -0700, David Miller wrote:
>> > > What's different for SPARC in this regard from other targets?  Is it
>> > > lack of a PLT entry (or BFD synthetic symbol for said PLT entry)?
>> > 
>> > There is a PLT entry, and when I disassemble it it looks like
>> > "printf@plt".
>> > 
>> > But when I set a breakpoint it gets set on printf@GLIBC_2.0
>> > instead of the correct printf@@GLIBC_2.4
>> > 
>> > All of my other systems have one non-versioned printf symbol,
>> > so either that is the different or the ordering of the symbols.
>> 
>> Yes, this is probably an impact of the 128-bit long double transition.
>> GDB knows how to set multiple breakpoints on functions with debug
>> info, but not without debug info (a known issue).
>
> My case has full debugging information, or at least it should, via
> /usr/lib/debug/lib/ultra3/libc-2.6.1.so which is where I got those
> above symbols above from.

There is probably no symbol matching printf in the debugging
information.  That's how it looks like on ppc, where the two versions of
printf are just aliases of the internal names __printf and
__ndbl_printf.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


  reply	other threads:[~2008-05-14  8:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-13 19:11 Paul Pluzhnikov
2008-05-13 19:21 ` Daniel Jacobowitz
2008-05-13 22:16   ` Michael Snyder
2008-05-13 23:02   ` Paul Pluzhnikov
2008-05-13 23:16     ` Daniel Jacobowitz
2008-05-14  1:05       ` Paul Pluzhnikov
2008-05-14  8:16         ` Paul Pluzhnikov
2008-06-05 19:14           ` Daniel Jacobowitz
2008-06-06  2:14             ` Paul Pluzhnikov
2008-06-06  2:35               ` Daniel Jacobowitz
2008-05-14  4:26     ` David Miller
2008-05-14  4:30       ` Daniel Jacobowitz
2008-05-14 11:51         ` David Miller
2008-05-14 14:48           ` Daniel Jacobowitz
2008-05-14 17:33             ` David Miller
2008-05-14 18:05               ` Andreas Schwab [this message]
2008-05-14 18:09                 ` David Miller

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=je7idxux50.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=davem@davemloft.net \
    --cc=dje@google.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=msnyder@specifix.com \
    --cc=ppluzhnikov@google.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