From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4438 invoked by alias); 4 Mar 2010 20:32:04 -0000 Received: (qmail 4429 invoked by uid 22791); 4 Mar 2010 20:32:03 -0000 X-SWARE-Spam-Status: No, hits=-7.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Mar 2010 20:31:59 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o24KVu4Y012376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 4 Mar 2010 15:31:56 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o24KVsLe014998 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Mar 2010 15:31:56 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id o24KVrl0021318; Thu, 4 Mar 2010 21:31:53 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id o24KVrnh021316; Thu, 4 Mar 2010 21:31:53 +0100 Date: Thu, 04 Mar 2010 20:32:00 -0000 From: Jan Kratochvil To: Ulrich Weigand Cc: gdb-patches@sourceware.org Subject: Re: [rfc] Fix separate debuginfo files on Cell (do not mask off high address bits) Message-ID: <20100304203153.GA21129@host0.dyn.jankratochvil.net> References: <201003042001.o24K12OX011806@d12av02.megacenter.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201003042001.o24K12OX011806@d12av02.megacenter.de.ibm.com> User-Agent: Mutt/1.5.20 (2009-08-17) 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-03/txt/msg00212.txt.bz2 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. > Jan, I understand you said this masking-off should no longer be necessary > due to other changes that occurred in the meantime. Could you verify that > PIE still works for you with the patch below? 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. Thanks, Jan