This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Backtrace_symbols and .symtab


Please be specific about exactly what you propose.  How would the program
find its own executable file from which to read .symtab?  The reason it
uses only .dynsym is that only .dynsym is part of the memory image in a
running program.

You mentioned sprof, but this is a completely different case.  That's a
program that reads an ELF file off disk.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]