[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb-bugs
Subject: Problem with pending breakpoints in DLLs
From: Thierry <rachma75 () yahoo ! fr>
Date: 2009-01-30 15:41:30
Message-ID: 21080.47528.qm () web25507 ! mail ! ukl ! yahoo ! com
[Download RAW message or body]
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 list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic