[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-debug-dev] Breakpoints broken in CDT CVS HEAD w/CygWin GDB for ARM
|
> Getting ahead of myself here, but if hacks are required, then hardcoding
> a defualt mapping of "cygdrive/*" to "*:/" would be preferable to my
> other hacks.
You can add these mappings to the common source lookup path. You can do it
using the "C/C++" -> "Debug" -> "Source Lookup Path" preference. You should
add a mapping per logical drive, we don't support the substitutions. And in
your example "/" is missing in the left side of the mapping. It should be
"/cygdrive/*".
----- Original Message -----
From: "Øyvind Harboe" <oyvind.harboe@xxxxxxxxx>
To: <cdt-debug-dev@xxxxxxxxxxx>
Sent: Sunday, May 08, 2005 10:57 AM
Subject: [cdt-debug-dev] Breakpoints broken in CDT CVS HEAD w/CygWin GDB for
ARM
> The binaries are built on Windows (within or without CygWin) and the
debug
> information contains host paths. When youn set a breakpoint gdb uses
these
> paths combimed with the source search path to find the source file.
The
> problem is CygWin paths. We are looking for solution, but for now you
can
> try to add a mapping source container that maps </cygdrive/c> to
<c:/>. This
> should work fine if your executable contains CygWin paths.
I've given up on the mapping approach in the past, but I'll see if I
can't get it to work now with the new stuff. If it works, then it is
wonderful news as I could delete lots of hacks to CDT.
Getting ahead of myself here, but if hacks are required, then hardcoding
a defualt mapping of "cygdrive/*" to "*:/" would be preferable to my
other hacks.
--
Øyvind Harboe
http://www.zylin.com
_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev