I'm actually using Atmel Studio monster from Atmel to compile and debug applications for their SAM D20 parts (Cortex-M0+). Atmel distributes a ARM toolchain derived from
the project on launchpad.
Everything works in Atmel Studio (compilation, linking, debugging), but I don't like it. I'd like to move to Code::Blocks.
I know how to configure a new compiler (this should be simple, because it is always a gcc) so I think I won't encounter big isseus on this task.
The problem is with debugging. I don't know how to configure gdb, what is gdb client and gdb server and so on. I understand I need two pieces: a server that manages the target board and the debugger dongle (I use JTAGICE3 from Atmel) and communicates, through local TCP connections, with the gdb client.
How to configure all of this? Is the server open OCD? At last, will I reach the same functionalities of Atmel Studio (breakpoints, step into, step over, reset target, run, halt, ...)?
Thank you for any suggestions.