3 * Iter Vehemens ad Necem (IVAN)
4 * Copyright (C) Timo Kiviluoto
5 * Released under the GNU General
8 * See LICENSING which should be included
9 * along with this file for more details
12 #ifndef __FELIB_ERROR_H__
13 #define __FELIB_ERROR_H__
17 #define ABORT globalerrorhandler::Abort
20 class globalerrorhandler
{
22 static void Install ();
23 static void DeInstall ();
24 static void NO_RETURN
LIKE_PRINTF(1, 2) Abort (cchar
*, ...);
25 static cchar
*GetBugMsg () { return BugMsg
; }
27 static void activateGDBMode ();
30 static void activateGDBReadMode ();
31 static bool isGDBRead ();
33 static void segfault ();
36 static void NewHandler ();
37 static void (*OldNewHandler
) ();
42 static bool errorGDBRead
;