Skip to content

Debugging with Custom GDB Server

Anton Kolesov edited this page Mar 15, 2018 · 2 revisions

ARC GNU IDE documentation has been moved to https://embarc.org/toolchain/ide/debugging-with-custom-gdb-server.html

It is expected here that you have already built your application and created a debug configuration for it. About how to do it you can read on the following pages:

Specifying custom GDB server properties

Custom GDB Server tab Custom GDB Server tab

You can use some other GDB server. In that case you should specify a path to this server executable file, its command-line arguments and also commands to be passed to the GDB client. These are on the Commands tab of the dialog.

Commands tab Commands tab

OpenOCD as a custom GDB server

To use OpenOCD as a custom GDB server, user needs to specify command line options for OpenOCD. It is not necessary to specify any commands for GDB on the Commands tab, it will connect to OpenOCD automatically.

Custom GDB server properties

Custom GDB server properties

Debugging using custom GDB server

Debugging using custom GDB server