Skip to content

Commit

Permalink
main/init: remove ContextRecord->Rip (not available on all platforms)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed May 7, 2023
1 parent 09c4358 commit 72b2140
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ LONG WINAPI exception_handler(EXCEPTION_POINTERS *ExceptionInfo)
re_fprintf(stderr, "%H\n", btrace_println, &bt);
}
else {
re_fprintf(stderr, "stack overflow: %p\n",
(void *)ExceptionInfo->ContextRecord->Rip);
re_fprintf(stderr, "stack overflow\n");
}

switch (ExceptionInfo->ExceptionRecord->ExceptionCode) {
Expand Down

0 comments on commit 72b2140

Please sign in to comment.