about summary refs log tree commit diff stats
path: root/src/include/box64context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/box64context.h')
-rwxr-xr-xsrc/include/box64context.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h
index 1ec9855e..1e7f5efc 100755
--- a/src/include/box64context.h
+++ b/src/include/box64context.h
@@ -64,6 +64,8 @@ typedef struct base_segment_s {
     pthread_key_t   key;
 } base_segment_t;
 
+#define CYCLE_LOG   8
+
 typedef struct box64context_s {
     path_collection_t   box64_path;     // PATH env. variable
     path_collection_t   box64_ld_lib;   // LD_LIBRARY_PATH env. variable
@@ -187,6 +189,11 @@ typedef struct box64context_s {
     void*               stack_clone;
     int                 stack_clone_used;
 
+    // rolling logs
+    char*               log_call[CYCLE_LOG];
+    char*               log_ret[CYCLE_LOG];
+    int                 current_line;
+
 } box64context_t;
 
 extern box64context_t *my_context; // global context