From d968fc01f244cce77491e424595b2ce5b9f27031 Mon Sep 17 00:00:00 2001 From: Douglas Katzman Date: Fri, 4 Aug 2017 19:17:39 -0400 Subject: [PATCH] If losing due to wrong build-id, print the darn thing --- src/runtime/coreparse.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime/coreparse.c b/src/runtime/coreparse.c index fd63db774..bb4b92052 100644 --- a/src/runtime/coreparse.c +++ b/src/runtime/coreparse.c @@ -803,6 +803,9 @@ load_core_file(char *file, os_vm_offset_t file_offset) * was changed, but people experimenting with patches * don't necessarily update version.lisp-expr.) */ + fprintf(stderr, "core was built for runtime '"); + for (i = 0; i < remaining_len; ++i) putc(ptr[i], stderr); + fprintf(stderr, "' but this is '%s'\n", build_id); lose("can't load .core for different runtime, sorry\n"); } -- 2.11.4.GIT