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 5.2: gdb/RSE issues



Hi

I am running CCS 5.2 on Ubuntu 10.04, with a TI Arm Cortex A8 target.

I have successfully connected to the target using Remote System Explorer and have configured my lauch configuration to use gdb (arm-none-eabi-gdb). I can launch the debug launch configuration successfully, but I cannot step through the code.  I am running a simple Hello World application, written in C.   Here are my questions.

1) The debugger shows two threads:

Thread[1]<main> (Running : User Request)

Thread [2] 863 (Running : Container)

Why are there 2 threads?

Should I step through Thread[1] ?

2) When I launch the launch configuration I often get an error:

Error during file upload. Operation failed. File system input or output error Operation failed. File system input or output error Operation failed. File system input or output error

How do I fix this?

3) If the launch succeeds, I execute a single step but the code then seems to run to completion. Why isn't it single stepping?

BR

David

  • Hi David,

    I have got this working now.  The key is creating a .gdbinit file and put the following line:

    set sysroot /home/tom/nfs

    This tells GDB where to find the libraries for the target, so you will need to apadt the above to point to your nfs directory.

    Let's take this offline for now and I will work with you through e-mail to get this running.

    Cheers,

    Tom