Question about what BFD can access
Daniel Jacobowitz
drow@false.org
Fri Jul 28 02:58:00 GMT 2006
More information about the Binutils mailing list
Fri Jul 28 02:58:00 GMT 2006
- Previous message (by thread): Question about what BFD can access
- Next message (by thread): Question about what BFD can access
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Jul 27, 2006 at 10:23:38PM -0400, Chris Ross wrote: > So, gcc is magically finding the executable on disk? Odd. How? If > I can do the same magic, that might help me as much... The normal method on Linux is /proc/PID/exe. There's other ways on other platforms. > >You can pull the dynamic symbol table out of memory mapped BFDs > >(and BFD supports such now), but the static symbol table you need to > >look around on disk usually. > > I may not fully understand the difference between these symbol > tables. > Is this an issue of a static vs. dynamic executable? Or that either > might > have either or both types of symbol tables? A dynamic executable can have both. Normally, the dynamic one is not particularly useful for debugging - it will only contain symbols referenced by shared libraries. -- Daniel Jacobowitz CodeSourcery
- Previous message (by thread): Question about what BFD can access
- Next message (by thread): Question about what BFD can access
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list