I separated the debug symbols from my executable using:
strip --keep-only-debug -o myproj.gdb myproj.exe
strip -s myproj.exe
How do I get C::B to pass the file with debug symbols to gdb before it actually starts debugging my executable? I can do this fine if I was using gdb from the commandline though:
gdb -s myproj.gdb -e myproj.exe
Thanks
It should work if you also run
objcopy --add-gnu-debuglink myproj.gdb myproj.exe
In this case gdb should be able to find the symbols-file automatically.
Only tested on linux, but objcopy also exists in MinGW.