Community
Participate
Working Groups
I am running Eclipse CDT 9.8.1. on OSX Mojave 10.14.6. When debugging an application using GDB, the arguments passed to main() seem to be enclosed with single quotes. I noticed this when passing filenames to the app, it fails to open files with error "file does not exist". One of those bugs that I am ashamed to tell the frends...
Which GDB are you using (Brew, MacPorts, from source)? I think CDT at this point doesn't have much macOS-specific code for the GDB integration so I wonder if it could be seen on Linux too.
(In reply to Marc-André Laperle from comment #1) > Which GDB are you using (Brew, MacPorts, from source)? I think CDT at this > point doesn't have much macOS-specific code for the GDB integration so I > wonder if it could be seen on Linux too. I've installed GDB using Brew, it's /usr/local/Cellar/gdb/8.3.