Re: Building GDB 7.10 with Python support

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
> Date: Fri, 9 Oct 2015 16:56:03 -0500
> From: Albert Chin <[email protected]>
> 
>   (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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.