This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu 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]

Re: backtrace_symbols


>>>>> Lakshminarasimhan naveenam writes:

 > Hi ,
 >       I am using the glibc-2.1.3 library . The
 > backtrace_symbols() function does returns the symbols
 > for only the shared libraries and not the main
 > executable . 
 >        Is this a bug or intended . Is there any
 > function provided in glibc other than
 > backtrace_symbols () which will return the function
 > names and the address of the functions on the stack . 

Compile your application with debugging infos (gcc -g).

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

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