Code::Blocks
July 29, 2010, 05:48:31 pm
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: New release 10.05 is ready. Grab it while it's hot!!!
Home
Help
Search
Login
Register
::
Website
Wiki
Code::Blocks
>
User forums
>
Using Code::Blocks
>
Cygwin and Unix Style Paths
Pages: [
1
]
« previous
next »
Send this topic
|
Print
Author
Topic: Cygwin and Unix Style Paths (Read 431 times)
thefurlong
Newcomer
Posts: 2
Cygwin and Unix Style Paths
«
on:
March 18, 2010, 05:54:18 pm »
Hello, I am trying to use Cygwin's version of the gdb debugger. However, whenever I set breakpoints, I get the message Cannot open file
C:\FOO\\cygdrive\c\FOO\main.cpp, where FOO is the name of the directory where my source files are located. When I manually use gdb in the Bash shell, as long as I use the path /cygdrive/c/FOO/, it works correctly. From my glib understanding of how Code Blocks uses gdb, it seems to me that gdb is actually able to locate the executable, but Code Blocks is then unable to convert the Unix style path that it returns into the corresponding DOS path. Is there any workaround for this?
Also, I would respectfully ask you not to suggest that I take a look at the Code Blocks source. I am a professional developer, and have already wasted enough time trying to get Cygwin to work with Code Blocks in the first place. Any other advice is welcome. Thank you.
Logged
MortenMacFly
Administrator
Lives here!
Posts: 4593
Re: Cygwin and Unix Style Paths
«
Reply #1 on:
March 18, 2010, 06:05:47 pm »
Quote from: thefurlong on March 18, 2010, 05:54:18 pm
Any other advice is welcome. Thank you.
Well... you should at least tell what version of C::B/Cygwin/GDB you are using. You may want to try a nightly in case you are using C::B 08/02. There has been a lot development in this area since the 08/02 days...
Logged
Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
Compiling help
Debugging help
Portable C::B
thefurlong
Newcomer
Posts: 2
Re: Cygwin and Unix Style Paths
«
Reply #2 on:
March 18, 2010, 06:23:03 pm »
Thank you for your response. Sorry about that. I am using C::B version 8.02, Cygwin version 1.7.1-1, and gdb version 6.8-2.
Logged
Pages: [
1
]
Send this topic
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
User forums
-----------------------------
=> Announcements
=> General (but related to Code::Blocks)
=> Help
=> Using Code::Blocks
=> Embedded development
=> Nightly builds
-----------------------------
Developer forums (C::B DEVELOPMENT STRICTLY!)
-----------------------------
=> Development
===> CodeCompletion redesign
===> Compiler Framework Redesign
=> Plugins development
=> Help wanted