Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
GDBCrashHandler Class Reference

#include <elm/debug/GDBCrashHandler.h>

+ Inheritance diagram for GDBCrashHandler:

Static Public Attributes

static GDBCrashHandler DEFAULT
 
- Static Public Attributes inherited from 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 CrashHandler
 CrashHandler (void)
 
virtual ~CrashHandler (void)
 

Additional Inherited Members

- Public Types inherited from CrashHandler
typedef t::uint32 mode_t
 
- Public Member Functions inherited from CrashHandler
virtual void setup (void)
 
virtual void cleanup (void)
 
- Static Public Member Functions inherited from CrashHandler
static void set (CrashHandler *handler, mode_t mode)
 
static CrashHandlerget (void)
 
static mode_t mode (void)
 
static void crash (void)
 

Detailed Description

This crash handler calls GDB to debug the current program.

This handler performs only if the ELM_DEBUG environment variable is set to yes.

Warning
It is only compiled if GDB is available and if /proc filesystem is available.

Member Function Documentation

◆ handle()

void handle ( void  )
protectedvirtual

This function is called when a crash need to be handled.

Reimplemented from CrashHandler.

References CrashHandler::cleanup().

Member Data Documentation

◆ DEFAULT

GDBCrashHandler DEFAULT
static

Default handler for GDB.


The documentation for this class was generated from the following files: