diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-05-19 14:27:06 +0200 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-05-19 14:27:06 +0200 |
commit | a40635885c50f14782d80251a8966bf4dd271f76 (patch) | |
tree | e0c31f8427dd73679cc5dffa2f00d4de77e71436 /gdb/compile/compile-object-load.c | |
parent | 84204ed7c0ccaa790dff8e124e710277d9a8abc9 (diff) | |
download | gdb-a40635885c50f14782d80251a8966bf4dd271f76.zip gdb-a40635885c50f14782d80251a8966bf4dd271f76.tar.gz gdb-a40635885c50f14782d80251a8966bf4dd271f76.tar.bz2 |
compile: gdb_stdout -> gdb_stdlog
Please send debug output to gdb_stdlog.
OK but gdb/compile/ is using now only gdb_stdout; the error above is due to
a copy-paste. So I will send a follow-up patch to change all the other
gdb/compile/ gdb_stdout strings to gdb_stdlog.
gdb/ChangeLog
2015-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
* compile/compile-c-symbols.c (convert_symbol_sym, gcc_convert_symbol)
(gcc_symbol_address): Change gdb_stdout to gdb_stdlog.
* compile/compile-object-load.c (setup_sections, compile_object_load):
Likewise.
* compile/compile.c (compile_to_object): Likewise.
Diffstat (limited to 'gdb/compile/compile-object-load.c')
-rw-r--r-- | gdb/compile/compile-object-load.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/compile/compile-object-load.c b/gdb/compile/compile-object-load.c index 67bc69a..15deaaf 100644 --- a/gdb/compile/compile-object-load.c +++ b/gdb/compile/compile-object-load.c @@ -76,7 +76,7 @@ setup_sections (bfd *abfd, asection *sect, void *data_voidp) prot |= GDB_MMAP_PROT_EXEC; if (compile_debug) - fprintf_unfiltered (gdb_stdout, + fprintf_unfiltered (gdb_stdlog, "module \"%s\" section \"%s\" size %s prot %u\n", bfd_get_filename (abfd), bfd_get_section_name (abfd, sect), @@ -98,7 +98,7 @@ setup_sections (bfd *abfd, asection *sect, void *data_voidp) addr = gdbarch_infcall_mmap (target_gdbarch (), data->last_size, data->last_prot); if (compile_debug) - fprintf_unfiltered (gdb_stdout, + fprintf_unfiltered (gdb_stdlog, "allocated %s bytes at %s prot %u\n", paddress (target_gdbarch (), data->last_size), paddress (target_gdbarch (), addr), @@ -672,7 +672,7 @@ compile_object_load (const char *object_file, const char *source_file, if (sym->flags != 0) continue; if (compile_debug) - fprintf_unfiltered (gdb_stdout, + fprintf_unfiltered (gdb_stdlog, "lookup undefined ELF symbol \"%s\"\n", sym->name); sym->flags = BSF_GLOBAL; @@ -716,7 +716,7 @@ compile_object_load (const char *object_file, const char *source_file, GDB_MMAP_PROT_READ); gdb_assert (regs_addr != 0); if (compile_debug) - fprintf_unfiltered (gdb_stdout, + fprintf_unfiltered (gdb_stdlog, "allocated %s bytes at %s for registers\n", paddress (target_gdbarch (), TYPE_LENGTH (regs_type)), @@ -740,7 +740,7 @@ compile_object_load (const char *object_file, const char *source_file, | GDB_MMAP_PROT_WRITE)); gdb_assert (out_value_addr != 0); if (compile_debug) - fprintf_unfiltered (gdb_stdout, + fprintf_unfiltered (gdb_stdlog, "allocated %s bytes at %s for printed value\n", paddress (target_gdbarch (), TYPE_LENGTH (out_value_type)), |