implemented wxStackWalker for Unix (using glibc-specific methods); moved wxUSE_STACKWALKER to common setu_inc.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-01-19 01:15:12 +00:00
parent e926f2efc7
commit eaff0f0d3f
13 changed files with 753 additions and 27 deletions

View File

@@ -128,6 +128,15 @@
#define wxUSE_ON_FATAL_EXCEPTION 0
#endif
// Set this to 1 to be able to generate a human-readable (unlike
// machine-readable minidumop created by wxCrashReport::Generate()) stack back
// trace when your program crashes using wxStackWalker
//
// Default is 1 if supported by the compiler.
//
// Recommended setting: 1, set to 0 if your programs never crash
#define wxUSE_STACKWALKER 1
// ----------------------------------------------------------------------------
// Unicode support
// ----------------------------------------------------------------------------
@@ -1039,6 +1048,9 @@
#undef wxUSE_STD_IOSTREAM
#define wxUSE_STD_IOSTREAM 1
#undef wxUSE_STACKWALKER
#define wxUSE_STACKWALKER 0
#endif
// things not implemented under Mac