]> Nishi Git Mirror - gwion.git/commitdiff
:art: Improving developer experience
authorJérémie Astor <fennecdjay@gmail.com>
Fri, 16 Apr 2021 17:12:41 +0000 (19:12 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Fri, 16 Apr 2021 17:12:41 +0000 (19:12 +0200)
src/vm/vm.c

index ee12c0680f72ceb93fe0a518358ec5575d1307f8..280cdab04239c1f8b88987d625d46fc810c56688 100644 (file)
@@ -111,7 +111,7 @@ ANN static inline void vm_ugen_init(const VM* vm) {
 
 #ifdef DEBUG_STACK
 #define VM_INFO                                                              \
-  gw_err("shred[%" UINT_F "] mem[%" INT_F"] reg[%" INT_F"]\n", \
+  gw_err("{-C}shred{W}[{Y}%" UINT_F "{W}] {C}mem{W}[{Y}%" INT_F"{W}] {C}reg{W}[{Y}%" INT_F"{W}]{0}\n", \
   shred->tick->xid, \
   mem - ((m_bit*)shred + sizeof(struct VM_Shred_) + SIZEOF_REG), reg - ((m_bit*)shred + sizeof(struct VM_Shred_)));
 #else