This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Building GDB 7.10 with Python support
- From: Eli Zaretskii <eliz at gnu dot org>
- To: gdb at sourceware dot org
- Date: Sat, 10 Oct 2015 10:09:07 +0300
- Subject: Re: Building GDB 7.10 with Python support
- Authentication-results: sourceware.org; auth=none
- References: <20151009215602 dot GA15880 at thewrittenword dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.