From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28784 invoked by alias); 13 May 2008 22:16:50 -0000 Received: (qmail 28776 invoked by uid 22791); 13 May 2008 22:16:50 -0000 X-Spam-Check-By: sourceware.org Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net (HELO sunset.davemloft.net) (74.93.104.97) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 13 May 2008 22:16:33 +0000 Received: from localhost (localhost [127.0.0.1]) by sunset.davemloft.net (Postfix) with ESMTP id 7E8B8C8C228; Tue, 13 May 2008 15:16:26 -0700 (PDT) Date: Wed, 14 May 2008 04:26:00 -0000 Message-Id: <20080513.151626.265832990.davem@davemloft.net> To: ppluzhnikov@google.com Cc: gdb-patches@sourceware.org, dje@google.com, msnyder@specifix.com Subject: Re: [RFC] Fix for mishandling of "break 'pthread_create@GLIBC_2.2.5'" From: David Miller In-Reply-To: <8ac60eac0805131351s241d33a8pd7d9839c51e53a8d@mail.gmail.com> References: <8ac60eac0805131135h5e9dd46ev8b7f39e660bf0bb7@mail.gmail.com> <20080513184447.GA12349@caradoc.them.org> <8ac60eac0805131351s241d33a8pd7d9839c51e53a8d@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-05/txt/msg00419.txt.bz2 From: "Paul Pluzhnikov" Date: Tue, 13 May 2008 13:51:57 -0700 > On Tue, May 13, 2008 at 1:23 PM, Michael Snyder wrote: > > > > FYI, there's a sort-of work-around... > > That only sort-of-works because there is a matching non-versioned > symbol. In addition, it's quite annoying for TAB-completion to > complete the symbol, but the result of completion to then not work. Right. I have a related problem right now in that the annota1 and annota3 testcases fail on my machine because all of the printf symbols in libc are versioned and the one you get with a simple "b printf" is random and determined by the order in which the symbols get added to the minsym hashes: 0005b260 T printf@@GLIBC_2.4 001425c0 T printf@GLIBC_2.0 GDB's support for symbol versioning could definitely be improved :-)