Breakpad: now working Mac OS X
This commit is contained in:
@@ -69,19 +69,6 @@ namespace
|
||||
}
|
||||
}
|
||||
|
||||
static void exceptionTerminateHandler()
|
||||
{
|
||||
// reinstall default terminate() handler in case we re-terminate.
|
||||
if (gOldTerminateHandler) std::set_terminate(gOldTerminateHandler);
|
||||
// treat this like a regular viewer crash, with nice stacktrace etc.
|
||||
long *null_ptr;
|
||||
null_ptr = 0;
|
||||
*null_ptr = 0xDEADBEEF; //Force an exception that will trigger breakpad.
|
||||
//LLAppViewer::handleViewerCrash();
|
||||
// we've probably been killed-off before now, but...
|
||||
gOldTerminateHandler(); // call old terminate() handler
|
||||
}
|
||||
|
||||
int main( int argc, char **argv )
|
||||
{
|
||||
#if LL_SOLARIS && defined(__sparc)
|
||||
|
||||
Reference in New Issue
Block a user