This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: The Constructor Breakpoint Issue
On Wed, Oct 20, 2004 at 11:00:25AM -0500, Jim Blandy wrote:
> The line number lookup code actually looks for "best" matches, not
> just exact matches; see symtab.c:find_line_common. Preserving that
> behavior will require a bit of care.
>
> The downside that comes to mind is that this approach requires GDB to
> always traverse the full linetable, instead of stopping as soon as it
> finds an exact match, as it does now.
I think the data structures involved will have to change to do this, or
it will just be too painful.
--
Daniel Jacobowitz