From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10809 invoked by alias); 21 Apr 2010 15:43:42 -0000 Received: (qmail 10799 invoked by uid 22791); 21 Apr 2010 15:43:41 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Apr 2010 15:43:33 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id E7227CB02BD; Wed, 21 Apr 2010 17:43:30 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p9ec-Yju0Qcb; Wed, 21 Apr 2010 17:43:30 +0200 (CEST) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id D375DCB02BC; Wed, 21 Apr 2010 17:43:30 +0200 (CEST) Subject: Re: [RFA/commit] Check library name rather than member name when rereading symbols. Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Tristan Gingold In-Reply-To: <201004211640.21421.pedro@codesourcery.com> Date: Wed, 21 Apr 2010 15:43:00 -0000 Cc: gdb-patches@sourceware.org, Joel Brobecker Content-Transfer-Encoding: quoted-printable Message-Id: <08697AC4-EB29-4F1B-BF7F-86EF17945F92@adacore.com> References: <1271863083-15509-1-git-send-email-brobecker@adacore.com> <201004211640.21421.pedro@codesourcery.com> To: Pedro Alves 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: 2010-04/txt/msg00686.txt.bz2 On Apr 21, 2010, at 5:40 PM, Pedro Alves wrote: > On Wednesday 21 April 2010 16:18:03, Joel Brobecker wrote: >> Hello, >>=20 >> On Darwin, we have lots of complaints being emitted when restarting >> a program: >>=20 >> (gdb) start >> `a-except.o' has disappeared; keeping its symbols. >> `unwind-dw2.o' has disappeared; keeping its symbols. >> `s-except.o' has disappeared; keeping its symbols. >> `s-traceb.o' has disappeared; keeping its symbols. >>=20 >> These object files are part of the GNAT runtime, and were never availabl= e. >> The warning comes from the fact that we're checking whether the .o files >> in the GNAT shared runtime have changed whereas we should be checking >> whether the GNAT shared library itself has changed. >>=20 >> This patch implements this. Although it is really only useful on a plat= form >> such as Darwin (debug info stored in .o files), we believe that this is >> the right thing to do in general. This change should be a noop for all >> the other platforms in any case. >=20 > Makes sense to me. And it's wonderful to get rid of another > #ifdef DEPRECATED_IBM6000_TARGET instance. Though, isn't the > comment's mention of "shared" a bit misleading? Isn't this about static > libraries / archives? Does this really also apply to shared > libraries? For darwin, this applies only to static libraries. For AIX, I don't know := -) Tristan.