summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/crash.h
blob: 56cd12f12c21c1406ac4c03b9afd5aa8c158420b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 * @file
 * @brief Platform specific crash handling functions.
**/

#ifndef CRASH_H
#define CRASH_H

#include <stdio.h>

void init_crash_handler();
void dump_crash_info(FILE* file);
void write_stack_trace(FILE* file, int ignore_count);
void call_gdb(FILE *file);
void disable_other_crashes();
void do_crash_dump();

void watchdog();

#endif