Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
cygdriveprefix can interfere with debugging
MortenMacFly:
Done. Please try SVN r4712... (Although it was not as easy as just looking for the prefix on the start... ;-)).
crc1021:
I'll try it out on the next nightly build (I'm not setup to build it right now). It is only harder if you still want the cygwin gdb paths to work. :wink:
crc1021:
That change fixes the problem I described. Thanks.
Another issue I see is that if code is compiled in the Cygwin of Msys environment and the compilation path is in a mounted path for that environment, the debug information will have paths that look like this "/home/user/prj" rather than "/cygdrive/c/home/user/prj". This happens if "C:\home" is mounted as "/home" in either Cygwin or Msys. Without the cygdrive prefix, the the function CorrectCygwinPath can not put in the "C:" notation. It seems without a "C:", some other function believes the path is relative and tries to open a file that looks like this:
C:\home\user\prj\<esc><esc>\home\user\prj\file.cpp
MortenMacFly:
Sorry for the delayed answer - you post slipped through my notification.
--- Quote from: crc1021 on December 11, 2007, 04:34:10 pm ---This happens if "C:\home" is mounted as "/home" in either Cygwin or Msys.
--- End quote ---
Why would you do that? And how? That would help me to reproduce.
But anyway - am I right that you would have no chance to get the root directory of home then? Because that info is simply missing at the point the debugger gets the info. If so than that's a bug you have to live with, I guess. But that would be OK - because if anybody mounts home in such a weired way (at least weired on Windows) than he is responsible himself.
With regards, Morten.
thomas:
--- Quote from: MortenMacFly on December 12, 2007, 04:39:45 pm ---Why would you do that? And how? That would help me to reproduce.
--- End quote ---
Why: It is comfortable. I do that as well for a couple of locations, and MSys does it by default with MinGW's installation path, too.
How: fstab, just like under Unix.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version