linux-mips
[Top] [All Lists]

Re: Can't debug core files with GDB

To: Tony Lin <lin.tony@gmail.com>
Subject: Re: Can't debug core files with GDB
From: Daniel Jacobowitz <dan@debian.org>
Date: Fri, 19 May 2006 09:02:21 -0400
Cc: linux-mips@linux-mips.org
In-reply-to: <404548f40605171139i67084776pd9ae7c34ec19ec95@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <404548f40605161702y199c34a5wa89ec5f84cdeee09@mail.gmail.com> <20060517133402.GA2480@nevyn.them.org> <404548f40605171139i67084776pd9ae7c34ec19ec95@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11+cvs20060403
On Wed, May 17, 2006 at 11:39:47AM -0700, Tony Lin wrote:
> The 0x4008c0 address doesn't look half bad, pointing within main(). So
> it looks like the mips kernel had all the right registers values but
> just didn't format it correctly in the core dump? It wrote the pc into
> cause, cause into sr, and cp0_status into lo.

Then either the kernel or GDB is confused about the layout.  You'll
have to work out which one has gotten wrong.

-- 
Daniel Jacobowitz
CodeSourcery

<Prev in Thread] Current Thread [Next in Thread>