Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 09 Feb 2016 06:56 AM by  Adam Ford
GDB unable to see debug symbols
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Jay Thomas
New Member
New Member
Posts:3


--
08 Feb 2016 04:30 PM

     

    After building the LTIB image, GDB version 6.6 is pulled into the image.  We are using the CodeSourcery toolchain:

    arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite 2011.09-70) 4.6.1

    When running GDB at the command line, it was not able to find the debug symbols that were actually present in our files.

    As an attempt at fixing this, I downloaded the latest GDB from the GNU website.  This is version 7.10.1.

    After cross building this and installing onto the target manually, GDB was now able to see the debug symbols and I was able to debug at the command line.

    I noticed in the LTIB script for the build of GDB ver 6.6, that it patches the GDB source code with a patch related to the toolchain.  In my own build, I did absolutely no patching of the GDB source.

    Why is this patch necessary? GDB seems to run fine without it.  Can we keep running this way and not expect further problems? Is there a known fix to make GDB version 6.6 run correctly?  Are the problems I saw with GDB ver 6.6 related to an issue of LogicPD upgrading the toolchain without ever going back and testing GDB with that new toolchain?

    Thanks,

    Jay

     

     

    Jay Thomas
    New Member
    New Member
    Posts:3


    --
    08 Feb 2016 04:33 PM

    please note that this issue pertains to the LogicPD Torpedo AM37x SOM

     

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    09 Feb 2016 06:56 AM
    I will have to relay this message to one of the developers who did the original setup to understand why the patch exists. Most likely it was based on the TI BSP and Compiler tools at the time the AM37x SOM was being developed. I will let you know what I learn.

    adam
    You are not authorized to post a reply.