about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2025-05-09 16:21:41 +0800
committerGitHub <noreply@github.com>2025-05-09 10:21:41 +0200
commit22fdc90fe28171e3e7566684f60305a4f2d04dcf (patch)
tree8e0c1ded237fa62b6cf9dd56455a9338d5db5fd0 /src/include
parent78193c5f1acb4fd0311bbf96ed0f692016d6e350 (diff)
downloadbox64-22fdc90fe28171e3e7566684f60305a4f2d04dcf.tar.gz
box64-22fdc90fe28171e3e7566684f60305a4f2d04dcf.zip
[GDBJIT] Added a new option to register debuginfo only after trapped into signalhandler (#2614)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gdbjit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gdbjit.h b/src/include/gdbjit.h
index 40f1ad58..f8cb9714 100644
--- a/src/include/gdbjit.h
+++ b/src/include/gdbjit.h
@@ -21,12 +21,14 @@ typedef struct gdbjit_block_s {
 void GdbJITNewBlock(gdbjit_block_t* block, GDB_CORE_ADDR start, GDB_CORE_ADDR end, uintptr_t x64start);
 gdbjit_block_t* GdbJITBlockAddLine(gdbjit_block_t* block, GDB_CORE_ADDR addr, const char* line);
 void GdbJITBlockReady(gdbjit_block_t* block);
+void GdbJITBlockCleanup(gdbjit_block_t* block);
 
 #else
 
 #define GdbJITNewBlock(a, b, c, d)
 #define GdbJITBlockAddLine(a, b, c) NULL
 #define GdbJITBlockReady(a)
+#define GdbJITBlockCleanup(a)
 
 #endif