I'm building my fork of dingusppc in Mac OS X 10.5.8 ppc 32-bit. I'm using gcc14 since gcc15 doesn't build.
How do I debug my executable?
I created an Xcode project using "external build system" in the build folder that contains the makefile created by cmake since cmake can't create an Xcode project for Xcode 3.1.4.
I've added all the source files. Xcode will use make to make the executable and it will startup the debugger.
The Xcode debugger doesn't seem to like the debug symbols even though
-gdwarf-2 is being used according to my changes made to CMakeLists.txt
I am looking for a bug that appears to be in CLI11 in this line of main in my fork of dingusppc:
Code:
auto emu = app.add_subcommand("", "Emulation");
I think all the code for CLI11 is in a single .hpp file? No external library.
I'm using the version of gdb that came with Xcode 3.1.4.
GNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue Jul 14 02:15:14 UTC 2009)