gdb failed to set a breakpoint on Windows

asmwarrior asmwarrior@gmail.com
Sat Jun 4 05:48:00 GMT 2011


Hi, today, I build a gdb-7.3.50.20110604 cvs gdb version under MinGW and 
MSYS.

But when debugging, gdb failed to set a breakpoint, it seems it failed 
to handle the windows style file path.

look at the log:

 > break 
"E:/code/cb/cb_trunk/src/plugins/codecompletion/parser/parserthread.cpp:524"
No source file named E.
Breakpoint 2 
("E:/code/cb/cb_trunk/src/plugins/codecompletion/parser/parserthread.cpp:524) 
pending.
 >>>>>>cb_gdb:

You see, "No source file named E.", this is the error message.

the gdb 20110401 cvs snapshot build works quite well on setting breakpoints.

any ideas?

thank you!

asmwarrior
ollydbg from codeblocks' forum



More information about the Gdb mailing list