Re: Building GDB 7.10 with Python support

Eli Zaretskii
2015-10-10T07:09:46Z

> Date: Fri, 9 Oct 2015 16:56:03 -0500
> From: Albert Chin <gdb@mlists.thewrittenword.com>
>
> (gdb) break main
> Breakpoint 1 at 0x4004c8: file d.c, line 57.
> (gdb) r
> Starting program: /opt/src/latest/devel/gdb-7.10/a.out
> A Unwinder should return gdb.UnwindInfo instance.
> findvar.c:290: internal-error: value_of_register_lazy: Assertion `frame_id_p (get_frame_id (frame))' failed.
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
> Quit this debugging session? (y or n) n
>
> Any ideas where I can start looking?

I'd start where the error message points you, i.e. in findvar.c at
line 290, where you had the assertion violation. It looks like
get_frame_id failed, so you'd probably need to step with a debugger
into that function and see what's going on there.