diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2024-12-21 23:20:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-21 16:20:48 +0100 |
| commit | ea13414083efaaec827bf78978c3c0656b0ebc1a (patch) | |
| tree | f8a897315cf8e5cf4fcc00af626ed805ca9d8a11 /src/core.c | |
| parent | 3e745474d3516891131d5efc1ec70486425a3b30 (diff) | |
| download | box64-ea13414083efaaec827bf78978c3c0656b0ebc1a.tar.gz box64-ea13414083efaaec827bf78978c3c0656b0ebc1a.zip | |
[GDBJIT] Unified the experience for all the backends (#2183)
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 10 |
1 files changed, 5 insertions, 5 deletions
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"); |