const fix
This commit is contained in:
@@ -290,7 +290,7 @@ typedef struct Frame
|
|||||||
void *linkReg;
|
void *linkReg;
|
||||||
} *FramePtr;
|
} *FramePtr;
|
||||||
|
|
||||||
void GetExceptionBacktraceContext( BacktraceContext *ctx, ExceptionInformation *exception )
|
void GetExceptionBacktraceContext( BacktraceContext *ctx, const ExceptionInformation *exception )
|
||||||
{
|
{
|
||||||
ctx->FramePtr = (void *) exception->registerImage->R1.lo;
|
ctx->FramePtr = (void *) exception->registerImage->R1.lo;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ void GetSignalBacktraceContext( BacktraceContext *ctx, const ucontext_t *uc );
|
|||||||
|
|
||||||
/* Set up a BacktraceContext to get a backtrace after receiving an exception, given
|
/* Set up a BacktraceContext to get a backtrace after receiving an exception, given
|
||||||
* an ExceptionInformation*. */
|
* an ExceptionInformation*. */
|
||||||
void GetExceptionBacktraceContext( BacktraceContext *ctx, ExceptionInformation *exception );
|
void GetExceptionBacktraceContext( BacktraceContext *ctx, const ExceptionInformation *exception );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BACKTRACE_METHOD_NOT_AVAILABLE ((void*) -1)
|
#define BACKTRACE_METHOD_NOT_AVAILABLE ((void*) -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user