Log BACKTRACE_METHOD_TEXT, BACKTRACE_LOOKUP_METHOD_TEXT
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
#include "global.h"
|
#include "global.h"
|
||||||
|
#include "RageLog.h"
|
||||||
#include "ArchHooks_Unix.h"
|
#include "ArchHooks_Unix.h"
|
||||||
#include "archutils/Unix/SignalHandler.h"
|
#include "archutils/Unix/SignalHandler.h"
|
||||||
|
|
||||||
@@ -28,6 +29,14 @@ ArchHooks_Unix::ArchHooks_Unix()
|
|||||||
SignalHandler::OnClose( EmergencyShutdown );
|
SignalHandler::OnClose( EmergencyShutdown );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ArchHooks_Unix::DumpDebugInfo()
|
||||||
|
{
|
||||||
|
#if defined(CRASH_HANDLER)
|
||||||
|
LOG->Info( "Crash backtrace component: %s", BACKTRACE_METHOD_TEXT );
|
||||||
|
LOG->Info( "Crash lookup component: %s", BACKTRACE_LOOKUP_METHOD_TEXT );
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2003 by the person(s) listed below. All rights reserved.
|
* Copyright (c) 2003 by the person(s) listed below. All rights reserved.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ class ArchHooks_Unix: public ArchHooks
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ArchHooks_Unix();
|
ArchHooks_Unix();
|
||||||
|
void DumpDebugInfo();
|
||||||
};
|
};
|
||||||
|
|
||||||
#undef ARCH_HOOKS
|
#undef ARCH_HOOKS
|
||||||
|
|||||||
Reference in New Issue
Block a user