Author Topic: CB 16.01 and Cygwin debugging?  (Read 1278 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6675
    • My Best Post
CB 16.01 and Cygwin debugging?
« 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org