This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug mi/9583] -break-insert failed when several source files have the same name
- From: "seb dot sfo at free dot fr" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 1 Oct 2009 20:52:38 -0000
- Subject: [Bug mi/9583] -break-insert failed when several source files have the same name
- References: <20080720111801.9583.seb.sfo@free.fr>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From seb dot sfo at free dot fr 2009-10-01 20:52 -------
Created an attachment (id=4243)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4243&action=view)
A updated fix
I have checked again my fix on the latest development version of gdb and
updated it.
It changes now 2 functions in symtab.c: find_line_symtab and
append_exact_match_to_sals. The previous version of the patch was not working
with the latest version of gdb because now, the additional breakpoints were
coming from append_exact_match_to_sals.
In addition, I have tried to avoid calling symtab_to_fullname when possible and
I have kept the first simple string comparison of the filename.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9583
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.