mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 13:23:00 +08:00
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:
@ -580,6 +580,12 @@ compile_object_load (const char *object_file, const char *source_file)
|
|||||||
TYPE_LENGTH (regs_type),
|
TYPE_LENGTH (regs_type),
|
||||||
GDB_MMAP_PROT_READ);
|
GDB_MMAP_PROT_READ);
|
||||||
gdb_assert (regs_addr != 0);
|
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);
|
store_regs (regs_type, regs_addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user