mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
system/stacktrace.cpp: add backtrace function for debugging, define HAVE_BACKTRACE to enable code
This commit is contained in:
7
src/system/stacktrace.h
Normal file
7
src/system/stacktrace.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef _STACKTRACE_H_
|
||||
#define _STACKTRACE_H_
|
||||
|
||||
void print_stacktrace(FILE *out = stderr, unsigned int max_frames = 63);
|
||||
void install_crash_handler();
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user