crashinfo path (untested)
This commit is contained in:
@@ -29,12 +29,12 @@ void *GetCrashedFramePtr()
|
|||||||
return (crashedFramePtr ? crashedFramePtr : __builtin_return_address(2));
|
return (crashedFramePtr ? crashedFramePtr : __builtin_return_address(2));
|
||||||
}
|
}
|
||||||
|
|
||||||
void InformUserOfCrash()
|
void InformUserOfCrash( const CString &sPath )
|
||||||
{
|
{
|
||||||
CFStringRef error = CFStringCreateWithCString(NULL,
|
CFStringRef error = CFStringCreateWithCString(NULL,
|
||||||
"StepMania has crashed. Debug information has been output to\n"
|
"StepMania has crashed. Debug information has been output to\n"
|
||||||
"\n"
|
"\n"
|
||||||
" /tmp/crashinfo.txt\n"
|
" " + sPath + "\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Please report a bug at:\n"
|
"Please report a bug at:\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|||||||
@@ -13,6 +13,6 @@
|
|||||||
|
|
||||||
OSStatus HandleException(ExceptionInformation *theException);
|
OSStatus HandleException(ExceptionInformation *theException);
|
||||||
void *GetCrashedFramePtr();
|
void *GetCrashedFramePtr();
|
||||||
void InformUserOfCrash();
|
void InformUserOfCrash( const CString &sPath );
|
||||||
|
|
||||||
#endif /* DARWIN_CRASH_H */
|
#endif /* DARWIN_CRASH_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user