From cc8d6557622b140ad3307a11bfc800a932e4150c Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Wed, 3 Apr 2013 16:07:06 -0600 Subject: [PATCH] use %x,%x format for listing start and end addresses This matches the format expected by recent versions of GDB's disassemble command. --- src/compile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compile.cpp b/src/compile.cpp index 259b6f5858..01d3f5c5f2 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -9473,7 +9473,7 @@ logCompile(MyThread* t, const void* code, unsigned size, const char* class_, } if (compileLog) { - fprintf(compileLog, "%p %p %s.%s%s\n", + fprintf(compileLog, "%p,%p %s.%s%s\n", code, static_cast(code) + size, class_, name, spec); }