Path handling bug in GDB included with MingW 3.1.0-1

Michael Stather michaelstather@nuzi.de
Sun Oct 5 21:48:00 GMT 2003


Hi,

I´ve seen a strange bug in the GDB that´s included with MingW32 3.1.0-1
under WinXP pro:
I´ve a little program which has only 2 lines.
Assuming it is in c:\p, I compile it, and then I set a breakpoint like this:

g++ -g -o p.exe c:/p/p.cpp -mwindows
gdb
break "c:/p/p.cpp:7"
Run

gdb won´t stop at the breakpoint.
however if I do:

cd c:\m
g++ -g -o p.exe p.cpp -mwindows
gdb
break "p.cpp:7"
run

it breaks correctly.
I think there´s something broken within the path handling
Is this bug already fixed or am I doing something wrong here? Regards
Michael Stather



More information about the Gdb mailing list