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.

TDA2EVM5777: Processors forum

Part Number: TDA2EVM5777

Hi,

I am using Processor SDK Vision 03.07 for the board bring up with Linux OS running in A15. I am trying to build and install GDB debugger on ARM to debug the application running in DSP C6x. I have cloned the gdbc6x package from the below path, as per the SDK linux user guide:

git://git.ti.com/sdo-emu/gdbc6x.git

I couldn't find a manual for building the gdbserver and gdbc6x binary to debug the application. 

Sample configuration command I used in git clone at the level gdbc6x/gdbc6x:

./configure --host=arm-linux-gnueabihf --target=tic6x-tirtos --with-build-sysroot=/home/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/os_tools/linux/targetfs LDFLAGS=-L/home/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/os_tools/linux/targetfs/usr/lib/ --prefix=$HOME/gdbc6x_install_arm_dsp CC_FOR_TARGET=/home/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/bin/cl6x CXX_FOR_TARGET=/home/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/bin/cl6x AR_FOR_TARGET=/home/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/bin/ar6x LD_FOR_TARGETT=/home/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/bin/lnk6x NM_FOR_TARGETT=/home/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/cg_tools/linux/ti-cgt-c6000_8.2.4/bin/nm6x

If I do make with configuration, gdbserver is not building.

Documentation referred:

https://ftp.gnu.org/old-gnu/Manuals/gdb/html_chapter/gdb_27.html

http://processors.wiki.ti.com/index.php/Hosted_C66x_GDB

/home/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/os_tools/linux/kernel/gdbc6x/gdbc6x/README
/home/ti/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/os_tools/linux/kernel/gdbc6x/gdbc6x/gdb/README

Kindly direct me a right way to build the binaries. Thanks in advance