From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24701 invoked by alias); 11 Oct 2006 16:09:00 -0000 Received: (qmail 24681 invoked by uid 22791); 11 Oct 2006 16:08:59 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Oct 2006 16:08:52 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id C2A3848CDF4; Wed, 11 Oct 2006 12:08:50 -0400 (EDT) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18869-01-4; Wed, 11 Oct 2006 12:08:50 -0400 (EDT) Received: from takamaka.act-europe.fr (unknown [70.71.0.212]) by nile.gnat.com (Postfix) with ESMTP id 5801E48CDA6; Wed, 11 Oct 2006 12:08:50 -0400 (EDT) Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 6CCA547F00; Wed, 11 Oct 2006 09:08:49 -0700 (PDT) Date: Wed, 11 Oct 2006 16:09:00 -0000 From: Joel Brobecker To: Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: [rfc] Clarify shared library warning Message-ID: <20061011160849.GE1059@adacore.com> References: <20061010145213.GA20993@nevyn.them.org> <20061010213438.GC1059@adacore.com> <20061011133756.GB25164@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061011133756.GB25164@nevyn.them.org> User-Agent: Mutt/1.4i 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-10/txt/msg00120.txt.bz2 > > > > warning: .dynamic section for "/lib/libc.so.6" is not at the expected > > > > address > > > > warning: the wrong version of the shared library may have been found > > > > > > Such a change is a good idea, I think. > > > > > > We could make it shorter, though: > > > > > > warning: .dynamic section for "/lib/libc.so.6" is not at the expected > > > address (wrong version of the shared library?) > > > > I like the change too, but I prefer Daniel's version. I find it much > > clearer. > > Actually, I like Eli's version better, myself. If you find the longer > one clearer, could you try to explain why? I find yours clearer because it tells the user that it is GDB that finds the shared library, so there should be a way to tell GDB how to find the correct one. Perhaps "wrong version of the shared library found?", or perhaps "wrong shared library found?" ? -- Joel