Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: =?ISO-8859-1?Q?S=E9bastien_Granjoux?= <seb.sfo <at> free.fr>
Subject: Fix breakpoints when several source files have the same name
Newsgroups: gmane.comp.gdb.patches
Date: Sunday 24th May 2009 10:51:14 UTC (over 7 years ago)
Hi All,

There is in gdb 6.8 a new bug that makes breakpoints inserted at the 
wrong place when a program has several files with the same base name (in 
different directories).

In some place, gdb checks only the base name of the file and so doesn't 
find the right place for the breakpoints.

I have opened a bug report about this here:
http://sourceware.org/bugzilla/show_bug.cgi?id=9583

I have found it using the mi interface but it appears in the same way 
with the other commands.


Here is a fix attached for this bug. It checks if a full name is 
available and if yes uses it instead of comparing only the base name.


Regards,

S├ębastien
 
CD: 3ms