compile: Add one debug message
gdb/ChangeLog 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com> * compile/compile-object-load.c (compile_object_load): Add COMPILE_DEBUG message.
This commit is contained in:
parent
24da9638e2
commit
b6de3f9642
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue