From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19639 invoked by alias); 5 Mar 2010 19:35:45 -0000 Received: (qmail 19590 invoked by uid 22791); 5 Mar 2010 19:35:44 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER X-Spam-Check-By: sourceware.org Received: from mtagate4.de.ibm.com (HELO mtagate4.de.ibm.com) (195.212.17.164) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 05 Mar 2010 19:35:41 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate4.de.ibm.com (8.13.1/8.13.1) with ESMTP id o25JZcuq023212 for ; Fri, 5 Mar 2010 19:35:38 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o25JZc4S1560640 for ; Fri, 5 Mar 2010 20:35:38 +0100 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o25JZcRM011079 for ; Fri, 5 Mar 2010 20:35:38 +0100 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id o25JZb2W011064; Fri, 5 Mar 2010 20:35:37 +0100 Message-Id: <201003051935.o25JZb2W011064@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Fri, 05 Mar 2010 20:35:37 +0100 Subject: Re: [rfc] Fix separate debuginfo files on Cell (do not mask off high address bits) To: jan.kratochvil@redhat.com (Jan Kratochvil) Date: Fri, 05 Mar 2010 19:35:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <20100304203153.GA21129@host0.dyn.jankratochvil.net> from "Jan Kratochvil" at Mar 04, 2010 09:31:53 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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-03/txt/msg00241.txt.bz2 Jan Kratochvil wrote: > On Thu, 04 Mar 2010 21:01:01 +0100, Ulrich Weigand wrote: > > when using the Cell/B.E. combined debugger, separate debug objfiles for > > SPE executables are currently completely broken. This is because the > > new relocation code now masks off high address bits, corrupting the > > encoded SPU ID in GDB CORE_ADDR values. > > Interesting addr_bit is lower than the valid address width. Yes, the reason for this is to strip off the SPU ID when converting address back for output as strings ... > Yes, it works. I have considered this masking is just no-op now (only > possibly with the unresolved negative mips32 addresses reported by Daniel J.). > > > No regressions on {x86_64,x86_64-m32,i686}-fedora12-linux-gnu. Great, thanks for verifying! I've checked this in to head and 7.1 branch now. Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com