This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: breakpoint.c:5280: internal-error: expand_line_sal_maybe: Assertion `found' failed.
- From: Vladimir Prus <vladimir at codesourcery dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gdb at sourceware dot org
- Date: Mon, 23 Jun 2008 07:51:43 +0400
- Subject: Re: breakpoint.c:5280: internal-error: expand_line_sal_maybe: Assertion `found' failed.
- References: <jey74xav9u.fsf@sykes.suse.de>
On Monday 23 June 2008 03:45:49 Andreas Schwab wrote:
> I'm getting this assertion failure when setting a breakpoint on a C++
> member function. What does that mean? This failure exists since the
> function was introduced. When I remove the assertion I don't see
> anything wrong happening.
This means that GDB found the symbol you requested, at some address, X,
and associated with file:file F:L. Then, we find all addresses {Y} corresponding
to F:L. The assert means that X does not belong to the set of addresses {Y}.
This should not happen generally -- do you have a small reproducible example?
- Volodya