From: Doug Evans Date: Wed, 6 Mar 2013 21:20:02 +0000 (+0000) Subject: * elfread.c (elf_symfile_read): Move debugging printf to more X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b6c814ed788b71c0cd9a1bf72093f2f928c4aa7;p=binutils-gdb.git * elfread.c (elf_symfile_read): Move debugging printf to more logical location. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 26c50a2ed5b..a8e681a810e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-03-06 Doug Evans + + * elfread.c (elf_symfile_read): Move debugging printf to more + logical location. + 2013-03-06 Pedro Alves * python/py-utils.c (target_string_to_unicode): Delete function. diff --git a/gdb/elfread.c b/gdb/elfread.c index 43c32b2c63e..6ab3a6a0a86 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -1388,6 +1388,9 @@ elf_symfile_read (struct objfile *objfile, int symfile_flags) bfd_section_size (abfd, str_sect)); } + if (symtab_create_debug) + fprintf_unfiltered (gdb_stdlog, "Done reading minimal symbols.\n"); + if (dwarf2_has_info (objfile, NULL)) { /* elf_sym_fns_gdb_index cannot handle simultaneous non-DWARF debug @@ -1439,9 +1442,6 @@ elf_symfile_read (struct objfile *objfile, int symfile_flags) do_cleanups (cleanup); } } - - if (symtab_create_debug) - fprintf_unfiltered (gdb_stdlog, "Done reading minimal symbols.\n"); } /* Callback to lazily read psymtabs. */