This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Path handling bug in GDB included with MingW 3.1.0-1
> Date: Wed, 08 Oct 2003 10:34:27 +1000
> From: Chris Johns <cjohns@cybertec.com.au>
>
> (gdb) b "c:/p/p.cpp:6"
> Breakpoint 1 at 0x4012da: file p.cpp, line 6.
> (gdb) b "c:\p\p.cpp:6"
> No source file named c:\p\p.cpp.
I don't see any problem here, except some syntactic sugar: users of
GDB on DOS/Windows systems are well advised to use forward slashes as
opposed to backslashes. If commands work with forward slashes, your
GDB is fully operational.
(The ugly "C:\p/p.cpp" thingie is most probably GCC's fault, anyway.)