diff options
Diffstat (limited to 'setedit/extra/stackdbg.h')
-rw-r--r-- | setedit/extra/stackdbg.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/setedit/extra/stackdbg.h b/setedit/extra/stackdbg.h new file mode 100644 index 0000000..6bb3bd4 --- /dev/null +++ b/setedit/extra/stackdbg.h @@ -0,0 +1,26 @@ +#ifndef STACKDBG_H_INCLUDED +#define STACKDBG_H_INCLUDED + +#ifdef __cplusplus +extern "C" { +#endif + +/* Strategies */ +/* Dump the stack, no symbol translations */ +#define DBGST_DUMP_STACK 0 +/* No action */ +#define DBGST_DO_NOTHING 1 +/* Try to get as many information as possible */ +#define DBGST_INFORMATIVE 2 +/* Start the debuger to get information about the crash */ +#define DBGST_DEBUG 3 + +extern char DebugStackInstall(char aStrategy, const char *processname); +extern void DebugStack(const char *redirect); +extern int DebugStackSeparateTerminalWillBeUsed(); + +#ifdef __cplusplus +} +#endif + +#endif // STACKDBG_H_INCLUDED |