blob: e0dcd54097fde79afa324a7436f240ab8a753f75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Darwin8 has no backtrace functionalities yet
--- src/sphinxutils.cpp
+++ src/sphinxutils.cpp
@@ -1364,6 +1364,9 @@
}
sphSafeInfo ( iFD, "Stack bottom = 0x%p, thread stack size = 0x%x", pMyStack, iStackSize );
+#ifndef SIGRETURN_FRAME_OFFSET
+ sphLogFatal ( "Cannot get stack frame pointer on this architecture" );
+#else
while ( pMyStack && !bSafe )
{
sphSafeInfo ( iFD, "begin of manual backtrace:" );
@@ -1421,6 +1424,7 @@
break;
}
+#endif
#if HAVE_BACKTRACE
sphSafeInfo ( iFD, "begin of system backtrace:" );
|