From: Doug Evans Date: Sat, 24 Aug 2013 00:12:25 +0000 (+0000) Subject: * elfread.c (elf_symfile_read): Move "Done reading minimal symbols" X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=4f00dda3709dc964d517fd207dab7701d0bf2c74;hp=59246daa45b29f31e7157fcec50e301c1a1c655b;p=deliverable%2Fbinutils-gdb.git * elfread.c (elf_symfile_read): Move "Done reading minimal symbols" debugging printf to better location. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9ca0e1eb3d..f85a978679 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-08-23 Doug Evans + + * elfread.c (elf_symfile_read): Move "Done reading minimal symbols" + debugging printf to better location. + 2013-08-23 Pedro Alves * target.c (target_read_live_memory): Change type of 'ret' local diff --git a/gdb/elfread.c b/gdb/elfread.c index d16287aeb9..b5c1046400 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -1364,6 +1364,9 @@ elf_symfile_read (struct objfile *objfile, int symfile_flags) install_minimal_symbols (objfile); do_cleanups (back_to); + if (symtab_create_debug) + fprintf_unfiltered (gdb_stdlog, "Done reading minimal symbols.\n"); + /* Now process debugging information, which is contained in special ELF sections. */ @@ -1408,9 +1411,6 @@ 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