X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Fcoreparse.c;h=65fdc12457ba46ae805757ed18f4d2d5e2c23dbb;hb=57500f8641535b9b958abe1e8b65863941becf4f;hp=a00438cb76d4256d13541ac839ba2cbecec15ca0;hpb=cd2c70c8b5d4dcc62b968f5a9bedd3c9c8698e82;p=sbcl.git diff --git a/src/runtime/coreparse.c b/src/runtime/coreparse.c index a00438c..65fdc12 100644 --- a/src/runtime/coreparse.c +++ b/src/runtime/coreparse.c @@ -33,6 +33,7 @@ #include "arch.h" #include "interr.h" #include "sbcl.h" +#include "thread.h" unsigned char build_id[] = #include "../../output/build-id.tmp" @@ -92,7 +93,7 @@ process_directory(int fd, u32 *ptr, int count) * defined(__i386__) * ? */ #if defined(LISP_FEATURE_X86) - SetSymbolValue(ALLOCATION_POINTER, (lispobj)free_pointer); + SetSymbolValue(ALLOCATION_POINTER, (lispobj)free_pointer,0); #else dynamic_space_free_pointer = free_pointer; #endif @@ -187,7 +188,7 @@ load_core_file(char *file) goto losing_build_id; for (i = 0; i < remaining_len; ++i) { FSHOW((stderr, "ptr[%d] = char = %d, expected=%d\n", - ptr[i], i, build_id[i])); + i, ptr[i], build_id[i])); if (ptr[i] != build_id[i]) goto losing_build_id; }