This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug mi/9583] -break-insert failed when several source files have the same name


------- Additional Comments From nickrob at snap dot net dot nz  2009-01-19 20:41 -------

> > I don't see how this can happen in the gdb code.  Are you sure this is vanilla
> > gdb?

> I'm quite sure, I have compiled it from the gdb-6.8.tar.bz2. The last entry in
> the ChangeLog file is:

OK.  I can see that in current Gdb the extra address is no longer printed.
I can also see similar problems when two shared objects with the same filename
are loaded.  Gdb doesn't always seem to have a handle on the full path name.

> info line
> /home/seb2008.1/Programmation/Anjuta/anjuta/plugins/debug-manager/plugin.c:232
> Line 232 of "plugin.c" starts at address 0xb5206453
> <ilanguage_get_from_mime_type+35> and ends at 0xb520645f
<ilanguage_get_from_mime_type+47>.
>
/home/seb/Programmation/Anjuta/anjuta/plugins/language-manager/plugin.c:232:5683:beg:0xb5206453

This seems to say that the problem is with how Gdb reads the symbol information
from the file and not how the breakpoint code handles it.

I probably can't be of much help except to say that you could send this last
piece of information to the gdb list which is read by more people.  First though
I would check it hasn't been fixed by current Gdb either using a snapshot or
downloading from CVS. 

-- 


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]