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, 26 May 2006 20:45:02 -0400
Cc: Johannes Stezenbach <js@linuxtv.org>, ashley jones <ashley_jones_2000@yahoo.com>, linux-mips@linux-mips.org
In-reply-to: <404548f40605261721r411b8321gdda239d82feace18@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <404548f40605171139i67084776pd9ae7c34ec19ec95@mail.gmail.com> <20060524081406.90333.qmail@web38407.mail.mud.yahoo.com> <404548f40605241844y41b897b6sb8a7512feb8655f6@mail.gmail.com> <20060525133529.GA31379@nevyn.them.org> <404548f40605251750s2708df73td50a4e9db755408f@mail.gmail.com> <20060526024540.GA16815@nevyn.them.org> <20060526113943.GB14036@linuxtv.org> <404548f40605261721r411b8321gdda239d82feace18@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11+cvs20060403
On Fri, May 26, 2006 at 05:21:44PM -0700, Tony Lin wrote:
> Is it possible that since I cross-compiled gdb on an i386, it used the
> local gcc/libc to compile and didn't have the right registers header
> file? I know during configuration it was complaining that it didn't
> find greg_t definitions etc. I suppose this why you guys can compile
> it correctly on the native mips-linux while I have issues
> cross-compiling on i386-linux.

No.  I build both cross and native debuggers, of course.

-- 
Daniel Jacobowitz
CodeSourcery

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