From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4696 invoked by alias); 6 Jan 2010 11:20:11 -0000 Received: (qmail 4684 invoked by uid 22791); 6 Jan 2010 11:20:10 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,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, 06 Jan 2010 11:20:06 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 51DA8CB01ED; Wed, 6 Jan 2010 12:20:04 +0100 (CET) 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 WWPcRFdeSMFE; Wed, 6 Jan 2010 12:20:04 +0100 (CET) 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 41A37CB01EB; Wed, 6 Jan 2010 12:20:04 +0100 (CET) Subject: Re: Regression on prelinked-sepdebug-shlibs Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Tristan Gingold In-Reply-To: <20100105161422.GB1277@host0.dyn.jankratochvil.net> Date: Wed, 06 Jan 2010 11:20:00 -0000 Cc: gdb-patches@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: <9177C150-3B1B-4E04-AC84-0DDA82CD4BC0@adacore.com> References: <20091225200440.GA3747@host0.dyn.jankratochvil.net> <1EA52AF6-6633-4D00-A3D7-842856D6C908@adacore.com> <20100104181009.GA15630@host0.dyn.jankratochvil.net> <20100105161422.GB1277@host0.dyn.jankratochvil.net> To: Jan Kratochvil 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-01/txt/msg00111.txt.bz2 On Jan 5, 2010, at 5:14 PM, Jan Kratochvil wrote: > On Tue, 05 Jan 2010 12:02:46 +0100, Tristan Gingold wrote: >> But without that sepdebug.exp fails: by default (default_symfile_offsets= ), >> addresses from addr_info are used as offsets. So if I put the vma into >> address, the addresses of the separate debug file are doubled. The >> convertion of addr to offset in syms_from_objfile is *not* done for main= line >> sym files - but I don't know why. >=20 > I also do not know why but fixed it now: > http://sourceware.org/ml/gdb-patches/2010-01/msg00080.html > http://sourceware.org/ml/gdb-cvs/2010-01/msg00039.html Thanks. I have just submitted the patch to fix the regression. Tristan.