This is the mail archive of the
mailing list for the GDB project.
Breakpoint doesn't take in account full path name in gdb 6.8
- From: Sébastien Granjoux <seb dot sfo at free dot fr>
- To: gdb at sourceware dot org
- Date: Sun, 25 Jan 2009 19:29:42 +0100
- Subject: Breakpoint doesn't take in account full path name in gdb 6.8
It seems that gdb 6.8 doesn't take in account the path of the source files.
I'm debugging a program which includes several source files having the
same name (in different directories). The program is compiled with
debugging information including the full path and gdb 6.6 is working
fine on this. Now, when I set a breakpoint in one of these files, the
program stops at the right line but in another file having the same name.
The bug seems to be in the way gdb associates the address and the file
position as "info line" already gives a wrong value.
I have filled a bug report with more information about this here: