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

Path handling bug in GDB included with MingW 3.1.0-1


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


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