diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-03-08 16:40:35 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-03-08 16:40:35 +0100 |
| commit | e05796674bd7648faa4bbb4d61de2e641bed34b9 (patch) | |
| tree | 7d38c44b030c69de44fc9988840832999d7d719c /src/libtools | |
| parent | 0ce169e7f55a84eef801fec61e352c800ac8e5e6 (diff) | |
| parent | 726af707ebe92f0f1a98ea985343f6641fa45ba8 (diff) | |
| download | box64-e05796674bd7648faa4bbb4d61de2e641bed34b9.tar.gz box64-e05796674bd7648faa4bbb4d61de2e641bed34b9.zip | |
Merge branch 'main' of https://github.com/ptitSeb/box64 into main
Diffstat (limited to 'src/libtools')
| -rwxr-xr-x | src/libtools/signals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtools/signals.c b/src/libtools/signals.c index 7d4586dc..a98b570a 100755 --- a/src/libtools/signals.c +++ b/src/libtools/signals.c @@ -749,7 +749,7 @@ static pthread_mutex_t mutex_dynarec_prot; void my_box64signalhandler(int32_t sig, siginfo_t* info, void * ucntx) { // sig==SIGSEGV || sig==SIGBUS || sig==SIGILL here! - int log_minimum = (my_context->is_sigaction[sig] && sig==SIGSEGV)?LOG_DEBUG:LOG_INFO; + int log_minimum = (box64_showsegv)?LOG_NONE:((my_context->is_sigaction[sig] && sig==SIGSEGV)?LOG_DEBUG:LOG_INFO); ucontext_t *p = (ucontext_t *)ucntx; void* addr = (void*)info->si_addr; // address that triggered the issue void* rsp = NULL; |