Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

heo670.h File Reference


Detailed Description

Interface that allows to produce a stack backtrace.

Author:
JoergM, RaymondR
See also:
example.html ...

Definition in file heo670.h.

#include "geo00.h"

Go to the source code of this file.

Classes

struct  eo670AddressInfo_
 Address information used to to find text symbol for given address. More...

Typedefs

typedef struct eo670AddressInfo_ eo670AddressInfo
 Address information used to to find text symbol for given address.
typedef void(* OutputCallBackFuncPtr )(char const *const str, void *const pOutContext)
 Pointer type of callback functions used to write on stack back trace output channel.

Functions

externC void eo670_CTraceContextStack (void *pBTraceContext)
 Create a stack backtrace using given context.
externC void eo670_CTraceContextStackOCB (void *pBTraceContext, OutputCallBackFuncPtr pOutput, void *const pOutContext)
 Create a stack backtrace using given context into the user given stack back trace output channel.
externC void eo670_CTraceStack (void)
 Create a stack backtrace on DEFAULT stack back trace output channel.
externC void eo670_CTraceStackInit ()
 Initialize lock used to serialize tracebacks.
externC void eo670_CTraceStackInitOCB (OutputCallBackFuncPtr pOutput, void *const pOutContext)
 Initialize lock used to serialize tracebacks.
externC void eo670_CTraceStackOCB (OutputCallBackFuncPtr pOutput, void *const pOutContext)
 Create a stack backtrace on stdout into the user given stack back trace output channel.
externC SAPDB_Int4 eo670_FillCallArray (SAPDB_Int4 level, void **callArray)
 Fill the given array with at most level trace back entries.
externC void eo670_FreeAddressInfo (eo670AddressInfo *pAddrInfo)
 Free mapping information.
externC SAPDB_Bool eo670_GetAddressInfo (void *pcAddr, eo670AddressInfo *pAddrInfo, void *pAddrInfoContext)
 Get mapping information about a given PC address.
externC void eo670_GetAddressInfoEpilog (void *pAddrInfoContext)
 finishes a sequences of eo670_GetAddressInfo calls and release all resources hold by eo670_GetAddressInfoProlog.
externC SAPDB_Bool eo670_GetAddressInfoProlog (void **pAddrInfoContext)
 prepares for following calls of eo670_GetAddressInfo
externC SAPDB_Bool eo670_UpdateSymbols ()
 Update symbol information.
externC SAPDB_Bool eo670_UpdateSymbolsOCB (OutputCallBackFuncPtr pOutput, void *const pOutContext)
 Update symbol information.
externC void eo670WriteString (const char *str)
 Write a string into the DEFAULT stack back trace output channel.
externC void eo670WriteStringOCB (const char *str, OutputCallBackFuncPtr pOutput, void *const pOutContext)
 Write a string into the user given stack back trace output channel.
externC void vtracestack (void)
 Create a stack backtrace from pascal.


Generated by  Doxygen 1.6.0   Back to index