Elm
1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/debug/GDBCrashHandler.h>
Static Public Attributes | |
static GDBCrashHandler | DEFAULT |
Static Public Attributes inherited from elm::CrashHandler | |
static const t::uint32 | DEBUG = 0x01 |
static const t::uint32 | INT = 0x02 |
static CrashHandler | DEFAULT |
Protected Member Functions | |
virtual void | handle (void) |
Protected Member Functions inherited from elm::CrashHandler | |
CrashHandler (void) | |
virtual | ~CrashHandler (void) |
Additional Inherited Members | |
Public Types inherited from elm::CrashHandler | |
typedef t::uint32 | mode_t |
Public Member Functions inherited from elm::CrashHandler | |
virtual void | setup (void) |
virtual void | cleanup (void) |
Static Public Member Functions inherited from elm::CrashHandler | |
static void | set (CrashHandler *handler, mode_t mode) |
static CrashHandler * | get (void) |
static mode_t | mode (void) |
static void | crash (void) |
This crash handler calls GDB to debug the current program.
This handler performs only if the ELM_DEBUG environment variable is set to yes.
|
protectedvirtual |
This function is called when a crash need to be handled.
Reimplemented from elm::CrashHandler.
References elm::CrashHandler::cleanup(), and elm::io::out.
|
static |
Default handler for GDB.