This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: mips-big-elf craches
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Johan Rydberg <jrydberg at night dot trouble dot net>, gdb at sources dot redhat dot com
- Date: Tue, 4 Mar 2003 08:59:38 -0700
- Subject: Re: mips-big-elf craches
- References: <20030304160043.A24263@cockmaster>
On Mar 4, 4:00pm, Johan Rydberg wrote:
> I get the following crash when I try to run against my own developed
> simulator (http://www.nongnu.org/guss). It seems that the "get_next_frame"
> fn returns NULL for some reason.
>
[...]
> GNU gdb 2003-02-13-cvs
I think this problem has been fixed by the following change:
2003-02-20 Kevin Buettner <kevinb at redhat dot com>
* frame.c (generic_unwind_get_saved_register): Make non-static.
* frame.h (generic_unwind_get_saved_register): Declare.
* mips-tdep.c (read_next_frame_reg): Fetch register from
current regcache when frame is NULL.
(mips_init_extra_frame_info): Pass NULL explicitly for parameter
that must be NULL.
(mips_get_saved_register): Call generic_unwind_get_saved_register()
instead of frame_register_unwind().
Update your sources, rebuild, and try again...
Kevin