X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fprint.c;h=6362a6f86949d5ff9f9f9a950b788d77f81cc28d;hb=0051cc0532da9f68a0ba5db5c07ebee1c91ee4d8;hp=6875c06bf01fdf23c1720024329d85fb2577c1ff;hpb=3bb2fb5b9ecdeebecaded4ac6e5af0f653be8867;p=sbcl.git diff --git a/src/runtime/print.c b/src/runtime/print.c index 6875c06..6362a6f 100644 --- a/src/runtime/print.c +++ b/src/runtime/print.c @@ -30,8 +30,13 @@ #include "monitor.h" #include "vars.h" #include "os.h" +#include "gencgc-alloc-region.h" /* genesis/thread.h needs this */ #include "genesis/static-symbols.h" -#include "primitive-objects.h" +#include "genesis/primitive-objects.h" + +#include "genesis/static-symbols.h" + + static int max_lines = 20, cur_lines = 0; static int max_depth = 5, brief_depth = 2, cur_depth = 0; @@ -413,7 +418,11 @@ static void print_slots(char **slots, int count, lispobj *ptr) * on the values in sbcl.h (or perhaps be generated automatically * by GENESIS as part of sbcl.h). */ static char *symbol_slots[] = {"value: ", "unused: ", - "plist: ", "name: ", "package: ", NULL}; + "plist: ", "name: ", "package: ", +#ifdef LISP_FEATURE_SB_THREAD + "tls-index: " , +#endif + NULL}; static char *ratio_slots[] = {"numer: ", "denom: ", NULL}; static char *complex_slots[] = {"real: ", "imag: ", NULL}; static char *code_slots[] = {"words: ", "entry: ", "debug: ", NULL};