Author Topic: multiple gdb config  (Read 278 times)

Offline anto38

  • Single posting newcomer
  • *
  • Posts: 1
multiple gdb config
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11144
    • Travis build status
Re: multiple gdb config
« Reply #1 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
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]