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.

ARM-CGT: TI ARM-CGT toolchain and GDB

Part Number: ARM-CGT
Other Parts Discussed in Thread: SEGGER

Is it possible to use the ARM-CGT tools for compilation/build and use GDB to debug?


  • Hello,

    Yes this is possible. Note that there is limited support we can provide for any GDB debug issues. CCS officially supports only the CCS debugger.



  • Bryan,

    The TI Arm compiler produces a standard output format and debug information that is supported by GDB.  How are you going to be using GDB?  Will you be using a JTAG debug probe, if so which one?  What TI device are you using?  We do not maintain a GDB agent for connecting to XDS debug probes.



  • Hi JohnS,

    Ideally, we want it integrated into VSCode using the cortex-debug extension (using the arm-none-eabi-gdb agent). We are using SEGGER J-Link (cJTAG) tools, and we are developing the TI CC2650F128 device. I have this working (to some degree) with this setup up, one issue I'm having is unable to see a call stack and when I try to step out of a function back to the calling, the debug session chokes out. 

    From my reading, it sounds like there are a lot of overlap of the two toolchains, and wanted see if there were some debug build options I need in order to make it work completely as expected. I also wanted to be sure there was a solution to be had in general, and it wasn't just "kind of working" and that was as good as it would get.

  • See reply below, any guidance would be greatly appreciated!

  • What is the version of the TI ARM compiler that you are using?

  • Sorry I missed this, I don't think I got the notification. But we are using an older one, v5.2.5

  • 5.2.5 is indeed fairly old (from 2015). Perhaps there are some known issues with the symbol output from that version.

    I will bring this thread to the attention of our compiler expert.



  • I checked with our compiler expert and he memtioned that there are no additional options available to support GDB. With that said, note that using the TI ARM compiler with GDB is not an officially supported environment. Hence it is not surprising that there are some issues with debug visibility. Unfortunately there is little additional support we can provide for this issue. Sorry