From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17644 invoked by alias); 17 Jun 2006 20:21:15 -0000 Received: (qmail 17636 invoked by uid 22791); 17 Jun 2006 20:21:14 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 17 Jun 2006 20:21:12 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id k5HKL9kl022326; Sat, 17 Jun 2006 22:21:09 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6) with ESMTP id k5HKL8vD002327; Sat, 17 Jun 2006 22:21:08 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6/Submit) id k5HKL82O013629; Sat, 17 Jun 2006 22:21:08 +0200 (CEST) Date: Sat, 17 Jun 2006 20:21:00 -0000 Message-Id: <200606172021.k5HKL82O013629@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: pgilliam@us.ibm.com CC: gdb-patches@sources.redhat.com In-reply-to: <1148513171.315.104.camel@dufur.beaverton.ibm.com> (message from PAUL GILLIAM on Wed, 24 May 2006 16:26:11 -0700) Subject: Re: [patch] Fixes problem setting breakpoint in dynamic loader References: <1148513171.315.104.camel@dufur.beaverton.ibm.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00245.txt.bz2 > From: PAUL GILLIAM > Date: Wed, 24 May 2006 16:26:11 -0700 > > --=-z0a1QHXPsj5sKoA5562L > Content-Type: text/plain > Content-Transfer-Encoding: 7bit > > On PowerPC-64, with 64-bit executables, GDB has been giving this message > for a while: > > warning: Unable to find dynamic linker breakpoint function. > GDB will be unable to debug shared library initializers > and track explicitly loaded dynamic code. > > This is because "enable_break()" in solib-svr4.c was looking for the > symbol "._dl_debug_state" in the 64-bit dynamic loader and not finding > it. This should not be a surprise because these 'dot' symbols have not > been used for a while. Your patch removes "._dl_debug_state" from the list of symbols. Doesn't this break debugging old binaries that still have the 'dot' symbols?