Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: stahta01 on March 15, 2016, 11:45:38 pm

Title: CB 16.01 and Cygwin debugging?
Post by: stahta01 on March 15, 2016, 11:45:38 pm
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.