Hi,

I'm using MingW GDB 6.8.
I'm debugging 2 DLLs "DLL1" and "DLL2", which have one source file with the 
same name, but different absolute paths; let's say: "C:\myProject\dummy.c", and 
"D:\myProject\dummy.c".
I'm setting a pending breakpoint (i.e. before the DLL is loaded) in 
"D:\myProject\dummy.c" using the absolute path.

Now the problem is: if "DLL1" is loaded before "DLL2", GDB is unable to set the 
breakpoint. I get the error message:
"Error in re-setting breakpoint 1: Internal: readin dummy.c pst for 
'D:\myProject\dummy.c' found when no symtab found."

It looks like that when GDB memorizes the location for the pending breakpoints, 
it stores the file's relative path and not the absolute path. Therefore it 
mixes up the source files having the same relative path.
Note that when using "normal" (non-pending) breakpoints, everything works well.

Any idea?

Thanks

   Thierry





_______________________________________________
bug-gdb mailing list
bug-gdb@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gdb

Reply via email to