How to obtain debug information from a section!!!!!
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.