|
OpenTTD
|
Unix crash log handler. More...
#include "../../stdafx.h"#include "../../crashlog.h"#include "../../string_func.h"#include "../../gamelog.h"#include "../../saveload/saveload.h"#include <errno.h>#include <signal.h>#include <sys/utsname.h>#include "../../safeguards.h"Go to the source code of this file.
Data Structures | |
| class | CrashLogUnix |
| Unix implementation for the crash logger. More... | |
Functions | |
| static void CDECL | HandleCrash (int signum) |
| Entry point for the crash handler. | |
Variables | |
| static const int | _signals_to_handle [] = { SIGSEGV, SIGABRT, SIGFPE, SIGBUS, SIGILL } |
| The signals we want our crash handler to handle. | |
Unix crash log handler.
Definition in file crashlog_unix.cpp.
|
static |
Entry point for the crash handler.
| signum | the signal that caused us to crash. |
Definition at line 153 of file crashlog_unix.cpp.
References CrashLog::AfterCrashLogCleanup(), endof, GamelogTestEmergency(), CrashLog::MakeCrashLog(), and SaveloadCrashWithMissingNewGRFs().
|
static |
The signals we want our crash handler to handle.
Definition at line 146 of file crashlog_unix.cpp.
1.8.1.2