diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-06-11 18:41:07 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-06-11 20:47:28 -0400 |
commit | 0762e42f1c0731c98425010a106230c563c6e563 (patch) | |
tree | 4c366a431805d7b617cf9b96fe502d29b0983af0 /util.h | |
parent | 747b6130a9063e3d9656d6f06910fa7f17e1f986 (diff) | |
download | perl-0762e42f1c0731c98425010a106230c563c6e563.tar.gz |
C backtrace tweaks.
Rename the environment variable that triggers the backtrace before
warns and croaks as PERL_USE_C_BACKTRACE_ON_ERROR (and correspondingly,
the define as USE_C_BACKTRACE_ON_ERROR).
Pod cleanups and updates, and move the needed #includes from perl.h
to util.c since that's the only place where they are needed.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -121,6 +121,12 @@ typedef struct { * output - quite disgusting. And that won't work if the * Developer Tools isn't installed. */ + /* FreeBSD notes: execinfo.h exists, but probably would need also + * the library -lexecinfo. BFD exists if the pkg devel/binutils + * has been installed, but there seems to be a known problem that + * the "bfd.h" getting installed refers to "ansidecl.h", which + * doesn't get installed. */ + /* Win32 notes: as moral equivalents of backtrace() + dladdr(), * one could possibly first use GetCurrentProcess() + * SymInitialize(), and then CaptureStackBackTrace() + |