This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mips-big-elf craches


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]