News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

CB 16.01 and Cygwin debugging?

Started by stahta01, March 15, 2016, 11:45:38 PM

Previous topic - Next topic

stahta01

I am trying to make Code::Blocks work better with the MSy2 GCC Compiler.
This Compiler is based off of the Windows Cygwin Platform.
Therefore, I decided to work on the Cygwin compiler and debugger to make them work better with Cygwin before adding MSys2 changes.

I am NOT all that good at using the CB Debugger; so, before I test the Cygwin Debugger is there any known issues with it?

Based on my looking at the source code in gdb_driver.cpp, the Cygwin Debugger is NOT likely to work on projects mounted using the cygwin /etc/fstab file. So, I will NOT try to do projects that require that to work.

The main feature I wish to add is to get shell ticks to work with Cygwin paths.
So, editing CompilerCommandGenerator::SearchDirsFromBackticks method will be needed.

I know about the need for the registry work around on "SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2".
That is the other thing I wish to remove the need for doing by rewriting GDB_driver::DetectCygwinMount and GDB_driver::CorrectCygwinPath methods.

Repeating main question: I am NOT all that good at using the CB Debugger; so, before I test the Cygwin Debugger is there any known issues with it?

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]