This is the mail archive of the gdb@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]

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


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


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