diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2025-05-09 16:21:41 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-09 10:21:41 +0200 |
| commit | 22fdc90fe28171e3e7566684f60305a4f2d04dcf (patch) | |
| tree | 8e0c1ded237fa62b6cf9dd56455a9338d5db5fd0 /docs | |
| parent | 78193c5f1acb4fd0311bbf96ed0f692016d6e350 (diff) | |
| download | box64-22fdc90fe28171e3e7566684f60305a4f2d04dcf.tar.gz box64-22fdc90fe28171e3e7566684f60305a4f2d04dcf.zip | |
[GDBJIT] Added a new option to register debuginfo only after trapped into signalhandler (#2614)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/USAGE.md | 1 | ||||
| -rw-r--r-- | docs/box64.pod | 3 | ||||
| -rw-r--r-- | docs/gen/usage.json | 5 |
3 files changed, 8 insertions, 1 deletions
diff --git a/docs/USAGE.md b/docs/USAGE.md index 64eeec0a..5276882e 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -403,6 +403,7 @@ The GDBJIT debugging support, only available on build with `-DGDBJIT=ON`, enable * 0: Dynarec will not generate GDBJIT debuginfo. [Default] * 1: Dynarec will generate GDBJIT debuginfo. * 2: Dynarec will generate detailed GDBJIT debuginfo with internal state. + * 3: Dynarec will register detailed GDBJIT debuginfo only for dynablocks that the guest program trap into, greatly improving performance. * 0xXXXXXXX-0xYYYYYYY: Define the range where Dynarec will generate detailed GDBJIT debuginfo with internal state. ### BOX64_DYNAREC_LOG diff --git a/docs/box64.pod b/docs/box64.pod index 98e09c7a..fa8fb86b 100644 --- a/docs/box64.pod +++ b/docs/box64.pod @@ -230,13 +230,14 @@ Define max allowed forward value when building block. * XXXX : Allow up to XXXX bytes of gap between end of the block and the next forward jump. -=item B<BOX64_DYNAREC_GDBJIT> =I<0|1|2|0xXXXXXXX-0xYYYYYYY> +=item B<BOX64_DYNAREC_GDBJIT> =I<0|1|2|3|0xXXXXXXX-0xYYYYYYY> The GDBJIT debugging support, only available on build with `-DGDBJIT=ON`, enable it with gdb command: jit-reader-load /usr/local/lib/libbox64gdbjitreader.so. * 0 : Dynarec will not generate GDBJIT debuginfo. [Default] * 1 : Dynarec will generate GDBJIT debuginfo. * 2 : Dynarec will generate detailed GDBJIT debuginfo with internal state. + * 3 : Dynarec will register detailed GDBJIT debuginfo only for dynablocks that the guest program trap into, greatly improving performance. * 0xXXXXXXX-0xYYYYYYY : Define the range where Dynarec will generate detailed GDBJIT debuginfo with internal state. diff --git a/docs/gen/usage.json b/docs/gen/usage.json index 9db6c675..735dbce9 100644 --- a/docs/gen/usage.json +++ b/docs/gen/usage.json @@ -419,6 +419,11 @@ "default": false }, { + "key": "3", + "description": "Dynarec will register detailed GDBJIT debuginfo only for dynablocks that the guest program trap into, greatly improving performance.", + "default": false + }, + { "key": "0xXXXXXXX-0xYYYYYYY", "description": "Define the range where Dynarec will generate detailed GDBJIT debuginfo with internal state.", "default": false |