From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26554 invoked by alias); 14 Aug 2007 22:38:05 -0000 Received: (qmail 26333 invoked by uid 22791); 14 Aug 2007 22:37:41 -0000 X-Spam-Check-By: sourceware.org Received: from el-out-1112.google.com (HELO el-out-1112.google.com) (209.85.162.176) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 14 Aug 2007 22:37:34 +0000 Received: by el-out-1112.google.com with SMTP id r27so378638ele for ; Tue, 14 Aug 2007 15:37:32 -0700 (PDT) Received: by 10.70.41.19 with SMTP id o19mr9019292wxo.1187131052276; Tue, 14 Aug 2007 15:37:32 -0700 (PDT) Received: by 10.100.127.9 with HTTP; Tue, 14 Aug 2007 15:37:32 -0700 (PDT) Message-ID: Date: Tue, 14 Aug 2007 22:38:00 -0000 From: "Vinod pandarinathan" To: gdb@sourceware.org Subject: Re: MIPS 64 bit addressing query Cc: "Vinod pandarinathan" In-Reply-To: <20070814215933.GA5877@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070806015122.GA29212@caradoc.them.org> <18103.27059.549214.117236@pkoning.equallogic.com> <20070814203232.GA1300@caradoc.them.org> <20070814215933.GA5877@caradoc.them.org> 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: 2007-08/txt/msg00123.txt.bz2 Thanks David. I am not sure why the executable is built with o32 and MIPS III, but it looks like thats the problem here. On 8/14/07, Daniel Jacobowitz wrote: > On Tue, Aug 14, 2007 at 02:51:57PM -0700, Vinod pandarinathan wrote: > > Its an ELF 32-bit MSB MIPS-III executable with the following flags set > > in the elf header. > > > > Flags: 0x20001101, noreorder, 32bitmode, > > o32, mips 3 > > I don't get it. If it's o32, why do you have 64-bit addresses at all? > Anyway, GDB should be automatically sign extending already in this > case. Check the symbol readers. > > -- > Daniel Jacobowitz > CodeSourcery >