aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-08-24 00:12:25 +0000
committerDoug Evans <dje@google.com>2013-08-24 00:12:25 +0000
commit4f00dda3709dc964d517fd207dab7701d0bf2c74 (patch)
tree0e843122713984621e5b03dd93062be4885ffac9 /gdb/elfread.c
parent59246daa45b29f31e7157fcec50e301c1a1c655b (diff)
downloadgdb-4f00dda3709dc964d517fd207dab7701d0bf2c74.zip
gdb-4f00dda3709dc964d517fd207dab7701d0bf2c74.tar.gz
gdb-4f00dda3709dc964d517fd207dab7701d0bf2c74.tar.bz2
* elfread.c (elf_symfile_read): Move "Done reading minimal symbols"
debugging printf to better location.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r--gdb/elfread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index d16287a..b5c1046 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