frame_register_unwind(): "frame != NULL" assertion failure

Daniel Jacobowitz drow@mvista.com
Thu Feb 13 21:29:00 GMT 2003


On Thu, Feb 13, 2003 at 02:23:50PM -0700, Kevin Buettner wrote:
> Andrew,
> 
> Any ideas about what to do about this assertion failure?  This is
> occurring in a mips-linux native gdb built using current sources. 
> (Okay, they're a few hours old by now...) I was debugging gdb with
> itself and was running to a breakpoint placed on main().
> 
> #0  internal_error (
>     file=0x7a1a60 "/home/devel/kevinb/sourceware-mips64/src.baseline/gdb/frame.c", line=187, string=0x7a1aa0 "%s%sAssertion `%s' failed.")
>     at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/utils.c:800
> #1  0x00577c94 in frame_register_unwind (frame=0x0, regnum=187, 
>     optimizedp=0x7a1b20, lvalp=0x7fff68d4, addrp=0x7fff68d8, 
>     realnump=0x7fff68e0, bufferp=0x7fff68c0)
>     at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/frame.c:187
> #2  0x004f8534 in read_next_frame_reg (fi=0x7fff68c0, regno=29)
>     at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/mips-tdep.c:1592

That backtrace must be inaccurate?  read_next_frame_reg just passes fi
to frame_register_unwind...


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list