[Linux-ia64] Re: backtrace()...

From: David Mosberger <davidm_at_napali.hpl.hp.com>
Date: 2002-12-10 03:37:35
>>>>> On 09 Dec 2002 15:33:37 +0100, Fons Rademakers <Fons.Rademakers@cern.ch> said:

  Fons> Hi David, I try to use backtrace() (/usr/include/execinfo.h)
  Fons> but it returns nothing meaningfull (one 0 stackframe). This is
  Fons> on Itanium2:

  Fons> Kernel 2.4.18-e.4smp glibc-2.2.4-29.2

  Fons> Is this expected or should I do something special?

Yes, the backtrace() in glibc is hopeless.  libunwind implements a
working version of backtrace() (see
http://www.hpl.hp.com/research/linux/libunwind/).

	--david
Received on Mon Dec 09 08:39:16 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:11 EST