Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, If I compile a program. with -g option, I can use gdb (or DDD) to debug my program, and gdb obtain all debug information that need it. Now, my ...
  1. #1
    Just Joined!
    Join Date
    May 2007
    Posts
    22

    How to obtain debug information from a section!!!!!

    Hello,

    If I compile a program. with -g option, I can use gdb (or DDD) to debug my program, and gdb obtain all debug information that need it.

    Now, my question is if it is possible to use the same process in my own program??. In other words, Can I use a similar process that use GDB in my own program to obtain debug information???

    I suppose that GDB use some library to do this works.

    Best regards.

  2. #2
    Just Joined!
    Join Date
    Feb 2009
    Posts
    2

    how to retrieve symbol information other than nm

    Hi,
    I am using fedora, I cross compiled firefox in bitbake for arm based board in server m/c,
    is their any tool to read the elf file, is path of symbol, etc

    bcoz I can load an application symbols compiled in other machine in normally( without Bitbake), but when same application compiled in server m/c with bitbake it's symbols are not getting loaded into Lauterbach TRACE32 JTAG debugger.

    Plz can any one help me in this matter.

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...