That may be the wrong place, but R5's libroot prints 'Abort' when abort() was called. That's at least a helpful clue, when you see your program terminate spontaneously.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10951 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2005-01-22 17:34:57 +00:00
parent 14a8f01955
commit 1e78d7ff9f
+2
View File
@@ -25,6 +25,8 @@ static int32 sExitStackIndex = 0;
void
abort()
{
fprintf(stderr, "Abort\n");
raise(SIGABRT);
exit(EXIT_FAILURE);
}