* GDB likes .../src/main.c, but it does not like ..\src\main.c ?
@ 2007-04-25 11:32 Sascha Radike
2007-04-25 11:40 ` Daniel Jacobowitz
0 siblings, 1 reply; 3+ messages in thread
From: Sascha Radike @ 2007-04-25 11:32 UTC (permalink / raw)
To: gdb
Hi,
I'm using GDB 6.5 and 6.6 (target = ARM, host = MinGW). Same for GCC.
Let's say I compile a file like this:
gcc -c -O0 -g -Ibla\blab\bla -osrc\main.o ..\src\main.c
When I debug the excutable using GDB and I put a "break main.c:23" I'll get
an error: No line 23 in file "..\src\main.c".
But when I compile the file with slashes instead of back-slashes
gcc -c -O0 -g -Ibla/blab/bla -osrc/main.o ../src/main.c
"break main.c:23" will work.
Why is that? The GDB which can be downloaded from MinGW does not seem to
have this problem.
Thanks
Sascha
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-04-25 13:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-25 11:32 GDB likes .../src/main.c, but it does not like ..\src\main.c ? Sascha Radike
2007-04-25 11:40 ` Daniel Jacobowitz
2007-04-25 13:14 ` Sascha Radike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox