From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23842 invoked by alias); 6 Feb 2002 19:41:12 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 23785 invoked from network); 6 Feb 2002 19:41:11 -0000 Received: from unknown (HELO localhost.redhat.com) (24.114.26.18) by sources.redhat.com with SMTP; 6 Feb 2002 19:41:11 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 7373E3E6A; Wed, 6 Feb 2002 14:41:10 -0500 (EST) Message-ID: <3C6186D6.8090605@cygnus.com> Date: Wed, 06 Feb 2002 11:41:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: Jim Blandy Cc: Kevin Buettner , gdb-patches@sources.redhat.com Subject: Re: RFA: Do solib address arithmetic with appropriate truncation References: <20020203013131.C26295E9DE@zwingli.cygnus.com> <3C5D755D.4030201@cygnus.com> <1020204161424.ZM16473@localhost.localdomain> <3C5EBE78.1020500@cygnus.com> <3C607B29.7060306@cygnus.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-02/txt/msg00177.txt.bz2 > Andrew Cagney writes: > >> Assuming a 32 bit MIPS section header and offset: >> >> 0x70000000 >> 0x20000000 >> ---------- >> 0x90000000 -> 0xffffffff90000000 > > > Okay, thanks. > > Now, on such a system --- 32 bit MIPS section headers and 32-bit > pointers --- where will a value like 0xffffffff90000000 ever actually > appear *on the target*? That is, why isn't this sign extension just a > figment of GDB's imagination? It will appear in the target's 64 bit registers. Andrew