Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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



Back to the top