From ea13414083efaaec827bf78978c3c0656b0ebc1a Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Sat, 21 Dec 2024 23:20:48 +0800 Subject: [GDBJIT] Unified the experience for all the backends (#2183) --- src/core.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/core.c') diff --git a/src/core.c b/src/core.c index a096cc8b..4810146b 100644 --- a/src/core.c +++ b/src/core.c @@ -903,12 +903,12 @@ void LoadLogEnv() printf_log(LOG_INFO, "Dynarec will not wait for FillBlock to ready and use Interpreter instead\n"); } p = getenv("BOX64_DYNAREC_GDBJIT"); - if(p) { - if(strlen(p)==1) { - if(p[0]>='0' && p[0]<='1') - box64_dynarec_gdbjit = p[0]-'0'; + if (p) { + if (strlen(p) == 1) { + if (p[0] >= '0' && p[0] <= '2') + box64_dynarec_gdbjit = p[0] - '0'; } - if(box64_dynarec_gdbjit) + if (box64_dynarec_gdbjit) printf_log(LOG_INFO, "Dynarec will generate debuginfo for gdbjit\n"); } p = getenv("BOX64_DYNAREC_ALIGNED_ATOMICS"); -- cgit 1.4.1