add g_pst gdb utility

This commit is contained in:
dzaima 2021-12-12 23:21:22 +02:00
parent 1b1fe2ba57
commit cd07af4e8b

View File

@ -722,6 +722,7 @@ B g_ta(void* x) { return tag(x,ARR_TAG); }
B g_tf(void* x) { return tag(x,FUN_TAG); } B g_tf(void* x) { return tag(x,FUN_TAG); }
void g_p(B x) { print(x); putchar(10); fflush(stdout); } void g_p(B x) { print(x); putchar(10); fflush(stdout); }
void g_pv(void* x) { print(tag(x,OBJ_TAG)); putchar(10); fflush(stdout); } void g_pv(void* x) { print(tag(x,OBJ_TAG)); putchar(10); fflush(stdout); }
void g_pst() { vm_pstLive(); }
#ifdef DEBUG #ifdef DEBUG
#ifdef OBJ_COUNTER #ifdef OBJ_COUNTER