This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS: CCS Debug Server and/or Debugging with GDB

Tool/software: Code Composer Studio

Hello,

i want to better understand the difference between using CCS' Debug Server (by using the Gui or scripting with DSS) and the GNU-debugging using GDB.
When using CodeComposerStudio for developing an application with e.g. an MSP430, i can choose between the TI compiler and the MSP430-gcc.
Using the GNU toolchain allows debugging with GDB, as far as i understand the TI compiler use its own protocol through the TI "Debug Server", as shown in the schematic below (partially re-drawn from software-dl.ti.com/.../sdto_dss_handbook.html). 

So now my questions:
1.) When using GDB as debugger, does it also use the "Debug Server" to communicate with the debug probe (for MSP430)?
2.) How does it look like when i'm debugging an ARM-chip with gcc/gdb an OpenOCD? is here the DebugServer also involved?

Thanks for the clarification!
I am also grateful for suggestions for correction to this graphic, and would also appreciate it if someone could give me some tips as I could show the connection with GDB in the graph.
best regards, Albert

  • Hello

    a.poetsch said:
    1.) When using GDB as debugger, does it also use the "Debug Server" to communicate with the debug probe (for MSP430)?

    No. "Debug Server" (as shown in the graphic) is TI's debug engine. GDB is the GNU debug engine, which would essentially be a replacement for it.

    a.poetsch said:
    2.) How does it look like when i'm debugging an ARM-chip with gcc/gdb an OpenOCD? is here the DebugServer also involved?

    No, if GDB is being used, then the "Debug Server" would not be involved

    a.poetsch said:
    I am also grateful for suggestions for correction to this graphic, and would also appreciate it if someone could give me some tips as I could show the connection with GDB in the graph.

    I suppose a simple update would be to replace "Debug Server" with "GDB". The CCS Eclipse based IDE can be used with GDB (leveraging Eclipse's support for GDB).

    You would need to remove the DSS "Scripting" layer since DSS only interfaces to TI's "Debug Server" (hence the name "Debug Server Scripting").

    Hope this helps

    ki