Breakpoint doesn't take in account full path name in gdb 6.8

Sébastien Granjoux seb.sfo@free.fr
Sun Jan 25 18:29:00 GMT 2009


Hello,

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:
http://sourceware.org/bugzilla/show_bug.cgi?id=9583

Sébastien



More information about the Gdb mailing list