diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-01-28 10:40:38 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-01-28 10:40:38 -0500 |
commit | c92079db31f60196c2c70d6733aeaaaa40f1f485 (patch) | |
tree | bbc0126f69837078f0aa8c5da7aa5cafabda8637 /indra/llcommon/StackWalker.cpp | |
parent | e91a192301db37f99a4f5a817f3b4c47b448417a (diff) |
SL-315 - verbose option for CallStack objects, doc headers in StackWalker.{h,cpp}
Diffstat (limited to 'indra/llcommon/StackWalker.cpp')
-rw-r--r-- | indra/llcommon/StackWalker.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llcommon/StackWalker.cpp b/indra/llcommon/StackWalker.cpp index 768595f5de..c0d3104099 100644 --- a/indra/llcommon/StackWalker.cpp +++ b/indra/llcommon/StackWalker.cpp @@ -6,6 +6,8 @@ * * $LicenseInfo:firstyear=2016&license=bsd$ * + * Linden notes: Small modifications from the original source at https://stackwalker.codeplex.com/ + * * History: * 2005-07-27 v1 - First public release on http://www.codeproject.com/ * http://www.codeproject.com/threads/StackWalker.asp @@ -1012,8 +1014,9 @@ BOOL StackWalker::LoadModules() static StackWalker::PReadProcessMemoryRoutine s_readMemoryFunction = NULL; static LPVOID s_readMemoryFunction_UserData = NULL; -BOOL StackWalker::ShowCallstack(HANDLE hThread, const CONTEXT *context, PReadProcessMemoryRoutine readMemoryFunction, LPVOID pUserData) +BOOL StackWalker::ShowCallstack(bool verbose, HANDLE hThread, const CONTEXT *context, PReadProcessMemoryRoutine readMemoryFunction, LPVOID pUserData) { + m_verbose = verbose; CONTEXT c; CallstackEntry csEntry; IMAGEHLP_SYMBOL64 *pSym = NULL; |