From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 628 invoked by alias); 6 Feb 2002 19:27:27 -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 518 invoked from network); 6 Feb 2002 19:27:25 -0000 Received: from unknown (HELO zwingli.cygnus.com) (208.245.165.35) by sources.redhat.com with SMTP; 6 Feb 2002 19:27:25 -0000 Received: by zwingli.cygnus.com (Postfix, from userid 442) id 333F95E9DE; Wed, 6 Feb 2002 14:29:00 -0500 (EST) To: Andrew Cagney 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> From: Jim Blandy Date: Wed, 06 Feb 2002 11:27:00 -0000 In-Reply-To: <3C607B29.7060306@cygnus.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-02/txt/msg00176.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?