This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: frame_register_unwind(): "frame != NULL" assertion failure
On Feb 14, 10:14am, Daniel Jacobowitz wrote:
> > However, can you please first investigate modifying the start of
> > mips_init_extra_frame_info() where it does:
> >
> > proc_desc = get_next_frame (fci) ? .....
> >
> > to, when get_next_frame(fci) is null, call:
> >
> > find_proc_desc (get_frame_pc (fci), fci, 1);
> >
> > that is the current, and not prev frame.
>
> I'm pretty sure that won't work - we're initializing the saved regs for
> fci right now, and find_proc_desc wants a frame to read registers out
> of.
Yes, I agree.