const fix
This commit is contained in:
@@ -290,7 +290,7 @@ typedef struct Frame
|
||||
void *linkReg;
|
||||
} *FramePtr;
|
||||
|
||||
void GetExceptionBacktraceContext( BacktraceContext *ctx, ExceptionInformation *exception )
|
||||
void GetExceptionBacktraceContext( BacktraceContext *ctx, const ExceptionInformation *exception )
|
||||
{
|
||||
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
|
||||
* an ExceptionInformation*. */
|
||||
void GetExceptionBacktraceContext( BacktraceContext *ctx, ExceptionInformation *exception );
|
||||
void GetExceptionBacktraceContext( BacktraceContext *ctx, const ExceptionInformation *exception );
|
||||
#endif
|
||||
|
||||
#define BACKTRACE_METHOD_NOT_AVAILABLE ((void*) -1)
|
||||
|
||||
Reference in New Issue
Block a user