diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2024-12-18 22:26:17 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-18 15:26:17 +0100 |
| commit | 955f6e74ab0ed1c99d5d6dccb6e799e0432d4080 (patch) | |
| tree | 70a329248a5b1ae690efbd1d5092b54d83946da0 /src/tools | |
| parent | 8a982e8b5e9cbf12ee6e30b83f0014ceb8cd22ea (diff) | |
| download | box64-955f6e74ab0ed1c99d5d6dccb6e799e0432d4080.tar.gz box64-955f6e74ab0ed1c99d5d6dccb6e799e0432d4080.zip | |
[GDBJIT] Refined RV64 and LA64 support (#2165)
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/gdbjit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/gdbjit.c b/src/tools/gdbjit.c index baf45fe6..a1ae725f 100644 --- a/src/tools/gdbjit.c +++ b/src/tools/gdbjit.c @@ -34,7 +34,7 @@ typedef struct gdbjit_descriptor_s { } gdbjit_descriptor_t; /* GDB puts a breakpoint in this function. This can't be optimized out. */ -void __attribute__((noinline)) __jit_debug_register_code() +EXPORT void __attribute__((noinline)) __jit_debug_register_code() { asm volatile("" ::: "memory"); }; @@ -42,7 +42,7 @@ void __attribute__((noinline)) __jit_debug_register_code() /* Make sure to specify the version statically, because the debugger may check * the version before we can set it. */ -gdbjit_descriptor_t __jit_debug_descriptor = { 1, GDBJIT_NOACTION, NULL, NULL }; +EXPORT gdbjit_descriptor_t __jit_debug_descriptor = { 1, GDBJIT_NOACTION, NULL, NULL }; /* --------------------------------------------------------------------------- */ |