This is Unofficial EPICS BASE Doxygen Site
epicsStackTracePvt.h File Reference
#include "libComAPI.h"
+ Include dependency graph for epicsStackTracePvt.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  epicsSymbol
 

Typedefs

typedef struct epicsSymbol epicsSymbol
 

Functions

LIBCOM_API int epicsBackTrace (void **buf, int buf_sz)
 
LIBCOM_API int epicsFindAddr (void *addr, epicsSymbol *sym_p)
 
LIBCOM_API int epicsFindAddrGetFeatures ()
 

Typedef Documentation

typedef struct epicsSymbol epicsSymbol

Function Documentation

LIBCOM_API int epicsBackTrace ( void **  buf,
int  buf_sz 
)

Definition at line 12 of file osdBackTrace.cpp.

13 {
14  return -1;
15 }
LIBCOM_API int epicsFindAddr ( void *  addr,
epicsSymbol sym_p 
)

Definition at line 20 of file osdFindAddr.c.

21 {
22  Dl_info inf;
23 
24  if ( ! dladdr(addr, &inf) ) {
25  sym_p->f_nam = 0;
26  sym_p->s_nam = 0;
27  sym_p->s_val = 0;
28  } else {
29  sym_p->f_nam = inf.dli_fname;
30  sym_p->s_nam = inf.dli_sname;
31  sym_p->s_val = inf.dli_saddr;
32  }
33 
34  return 0;
35 }
const char * f_nam
const char * s_nam
LIBCOM_API int epicsFindAddrGetFeatures ( )

Definition at line 37 of file osdFindAddr.c.

38 {
42 }
#define EPICS_STACKTRACE_LCL_SYMBOLS
#define EPICS_STACKTRACE_GBL_SYMBOLS
#define EPICS_STACKTRACE_DYN_SYMBOLS