2004-11-14 08:29:32 +00:00
|
|
|
// $Id$
|
|
|
|
//
|
2004-02-06 03:12:30 +00:00
|
|
|
/*////////////////////////////////////////////////////////////////////////////
|
|
|
|
* Project:
|
|
|
|
* Memory_and_Exception_Trace
|
|
|
|
*
|
|
|
|
* ///////////////////////////////////////////////////////////////////////////
|
|
|
|
* File:
|
|
|
|
* Stackwalker.h
|
|
|
|
*
|
|
|
|
* Remarks:
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Note:
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Author:
|
|
|
|
* Jochen Kalmbach
|
|
|
|
*
|
|
|
|
*////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __STACKWALKER_H__
|
|
|
|
#define __STACKWALKER_H__
|
|
|
|
|
2006-04-08 20:22:08 +00:00
|
|
|
// Only valid in the following environment: Intel platform, MS VC++ 5/6/7/8
|
2004-02-06 03:12:30 +00:00
|
|
|
#ifndef _X86_
|
|
|
|
#error Only INTEL envirnoments are supported!
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Make extern "C", so it will also work with normal C-Programs
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2006-04-15 22:45:02 +00:00
|
|
|
extern int DebuggerInitialize( LPCSTR pszBOINCLocation, LPCSTR pszSymbolStore, BOOL bProxyEnabled, LPCSTR pszProxyServer );
|
2006-04-08 20:22:08 +00:00
|
|
|
extern int DebuggerDisplayDiagnostics();
|
2006-04-10 06:20:02 +00:00
|
|
|
extern DWORD StackwalkFilter( EXCEPTION_POINTERS* ep, DWORD status );
|
|
|
|
extern void StackwalkThread( HANDLE hThread, CONTEXT* c );
|
2004-02-06 03:12:30 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // __STACKWALKER_H__
|