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.

Debugging multithread application on A8 using GDB on CCS 5

Genius 16510 points

Moved from an email discussion:

I’m having trouble debugging our application using CCS5. I believe it has something to do with the fact that it is multi-threaded. I’m using CCS 5.0.1 on a windows host. When invoking the debugging session, I get the following warning  “warning: Unable to find dynamic linker breakpoint function.”. I try to follow the instructions on the wiki page, but it seems it can’t use the path I specify for the GDB command file.

I'll reply shortly.

 

Andy

  • The gdb error sounds like a problem where a breakpoint is trying to be set in a shared library that hasn't been loaded yet. If this is the problem, it should be possible to set the breakpoint at a later time when you are sure the required library has been loaded by the OS.  Does this sound like it might be the issue?

    Could you provide some more details on the gdb command file issue? Is the path not being used at all?

  • The gdb error has nothing to do with actual breakpoints, I see it even when no breakpoint is set, right after connecting to the remote target. the full text of the warning is:

    warning: Unable to find dynamic linker breakpoint function.
    GDB will be unable to debug shared library initializers
    and track explicitly loaded dynamic code.

    I also tried to debug from command line Linux box using the CodeSourcery gdb, and got the same warning. I tried to use the set sysroot command, and it didn't help either.

    Arik