From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30352 invoked by alias); 26 Jan 2004 17:07:10 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 30345 invoked from network); 26 Jan 2004 17:07:09 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 26 Jan 2004 17:07:09 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D3DB62B8F; Mon, 26 Jan 2004 12:07:08 -0500 (EST) Message-ID: <4015493C.4010805@gnu.org> Date: Mon, 26 Jan 2004 17:07:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Subject: Re: MIPS saved register troubles References: <20040126155623.GA2979@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-01/txt/msg00304.txt.bz2 > I spent some time fiddling with backtraces in an o32 application, using a > mips64-linux GDB, this morning. They don't work so well :) The basic > problem is the [0,NUM_REGS) hack. mips_register_raw_size reports that > register $28 is 8 bytes wide, so legacy_saved_regs_prev_register loads two > consecutive saved values into $28, and it looks like 0x7ffffe007ffffd8c ($s8 > concatenated with $sp). Can you provide more details? > Fixing this is going to be ugly. Andrew, I don't suppose you have a plan to > migrate MIPS to the new frame code, thereby making all this go away? I'm not so sure? BTW, you can't miss my irregular MIPS cleanups. My current problem is: [regression] Internal error: pc 0x400b21 in read in psymtab, but not in symtab. http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=1519 look familar? Andrew