Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: anto38 on July 04, 2018, 02:31:58 pm

Title: multiple gdb config
Post by: anto38 on July 04, 2018, 02:31:58 pm
Hi,

I'm using Codeblocks 17.12, and I'm trying to set up multiple gdb configs in menu "settings" -> "debugger" -> "GDB Debugger".
However, I did not manage to choose another config than "default" in my project. Is that possible?

As an example, default gdb config points to "C:\MinGW\bin\gdb.exe"
and I created a new ARM gdb config which points to "arm-none-eabi-gdb.exe"
How can I use my new config in a project?

Thanks.
Antoine
Title: Re: multiple gdb config
Post by: oBFusCATed on July 04, 2018, 07:28:02 pm
Two options:
1. select the debugger config in the compiler's toolchain executables settings page and then use debug->active debugger -> target's default
2. just select the config in debug->active debugger->your config