[Bug other/24724] _Unwind_Backtrace() calls malloc

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 8 01:02:00 GMT 2005



------- Comment #6 from pinskia at gcc dot gnu dot org  2005-11-08 01:02 -------
Hmm, You could try libunwind instead, it should work on x86_64:
http://www.hpl.hp.com/research/linux/libunwind/

They show you how to use libunwind to generate a normal backtrace:
http://www.hpl.hp.com/research/linux/libunwind/man/libunwind(3).php

Though I doubt that none of these will remove the use of malloc though.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24724



More information about the Gcc-bugs mailing list