[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with pending breakpoints in DLLs
From: |
Thierry |
Subject: |
Problem with pending breakpoints in DLLs |
Date: |
Fri, 30 Jan 2009 15:41:30 +0000 (GMT) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problem with pending breakpoints in DLLs,
Thierry <=