From: Jan Kratochvil Date: Sat, 16 May 2015 12:14:10 +0000 (+0200) Subject: compile: Add one debug message X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=b6de3f9642c58439c31690255c3a4326728da88d;p=deliverable%2Fbinutils-gdb.git compile: Add one debug message gdb/ChangeLog 2015-05-16 Jan Kratochvil * compile/compile-object-load.c (compile_object_load): Add COMPILE_DEBUG message. --- diff --git a/gdb/compile/compile-object-load.c b/gdb/compile/compile-object-load.c index fe23448984..745d787c1f 100644 --- a/gdb/compile/compile-object-load.c +++ b/gdb/compile/compile-object-load.c @@ -580,6 +580,12 @@ compile_object_load (const char *object_file, const char *source_file) TYPE_LENGTH (regs_type), GDB_MMAP_PROT_READ); gdb_assert (regs_addr != 0); + if (compile_debug) + fprintf_unfiltered (gdb_stdout, + "allocated %s bytes at %s for registers\n", + paddress (target_gdbarch (), + TYPE_LENGTH (regs_type)), + paddress (target_gdbarch (), regs_addr)); store_regs (regs_type, regs_addr); }