From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27279 invoked by alias); 27 Sep 2006 20:19:54 -0000 Received: (qmail 27271 invoked by uid 22791); 27 Sep 2006 20:19:54 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 27 Sep 2006 20:19:51 +0000 Received: (qmail 14612 invoked from network); 27 Sep 2006 20:19:49 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 27 Sep 2006 20:19:49 -0000 To: Jan Kratochvil Cc: Michael Snyder , gdb-patches@sourceware.org Subject: Re: [patch] Cut memory address width References: <20060927161501.GA23340@host0.dyn.jankratochvil.net> <1159381222.9768.43.camel@localhost.localdomain> <20060927182211.GB5635@nevyn.them.org> <20060927183716.GA13279@host0.dyn.jankratochvil.net> <20060927185544.GA6821@nevyn.them.org> From: Jim Blandy Date: Wed, 27 Sep 2006 20:19:00 -0000 In-Reply-To: <20060927185544.GA6821@nevyn.them.org> (Daniel Jacobowitz's message of "Wed, 27 Sep 2006 14:55:44 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes 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-09/txt/msg00202.txt.bz2 Daniel Jacobowitz writes: > On Wed, Sep 27, 2006 at 08:37:16PM +0200, Jan Kratochvil wrote: >> In such case `paddress' should print full 64-bit addresses. >> Currently it is weird as it refuses to access memory while it will show you >> that you were accessing 0xffffce70 - the already cut form - it lies. > > Yes, I'm inclined to agree with this. I've encountered it a time or > two, mostly while working on MIPS64, and it's really bewildering! > If we have garbage in the high bits, that's a problem already. > > I don't know what else would break but unless someone else does, I > think we should change paddress to print what it's got. Definitely. Having paddress "fix" things adds insult to injury. :)