From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27059 invoked by alias); 10 Sep 2015 15:19:32 -0000 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 Received: (qmail 27049 invoked by uid 89); 10 Sep 2015 15:19:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=no version=3.3.2 X-HELO: cvs.linux-mips.org Received: from eddie.linux-mips.org (HELO cvs.linux-mips.org) (148.251.95.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 10 Sep 2015 15:19:27 +0000 Received: (from localhost user: 'macro', uid#1010) by eddie.linux-mips.org with ESMTP id S27007139AbbIJPTZTNTHw (ORCPT ); Thu, 10 Sep 2015 17:19:25 +0200 Date: Thu, 10 Sep 2015 15:19:00 -0000 From: "Maciej W. Rozycki" To: Pedro Alves cc: Paul Pluzhnikov , Mark Kettenis , gdb-patches ml Subject: Re: [patch] Fix BZ15121 -- x/a broken for addresses in shared libraries In-Reply-To: <55F19CC3.8080001@redhat.com> Message-ID: References: <55F19100.30600@redhat.com> <201509101433.t8AEX5Cw008716@glazunov.sibelius.xs4all.nl> <55F19CC3.8080001@redhat.com> User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00175.txt.bz2 On Thu, 10 Sep 2015, Pedro Alves wrote: > > I can't imagine any reason why (upper levels of) 64-bit GDB would need > > to be lied to that the 32-bit inferior's 0x80000004 pointer has > > CORE_ADDR value of 0xFFFFFFFF80000004. > > MIPS has signed addresses, at the hardware level. Thus a 32-bit ABI on > a 64-bit machine ends up seeing with sign-extended addresses. SH seems to be the same. Maciej