From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4642 invoked by alias); 18 Feb 2010 14:11:57 -0000 Received: (qmail 4633 invoked by uid 22791); 18 Feb 2010 14:11:56 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 18 Feb 2010 14:11:51 +0000 Received: (qmail 26609 invoked from network); 18 Feb 2010 14:11:50 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 18 Feb 2010 14:11:50 -0000 Date: Thu, 18 Feb 2010 14:11:00 -0000 From: Daniel Jacobowitz To: Stan Shebs Cc: gdb@sourceware.org Subject: Re: CORE_ADDR representation Message-ID: <20100218141147.GB18535@caradoc.them.org> Mail-Followup-To: Stan Shebs , gdb@sourceware.org References: <20100218044416.GA19485@caradoc.them.org> <4B7CD31F.2070006@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B7CD31F.2070006@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-02/txt/msg00126.txt.bz2 On Wed, Feb 17, 2010 at 09:41:51PM -0800, Stan Shebs wrote: > I would say to declare that CORE_ADDR is fundamentally 0..memtop, so > it should be unsigned and zero-extend. > > Can unsigned->signed->diddle->unsigned be encapsulated for MIPS only? I don't know that it can't. I think I discussed this with Andrew many years ago, and he thought that it couldn't; but I can't find the details... -- Daniel Jacobowitz CodeSourcery