aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-03-06 21:20:02 +0000
committerDoug Evans <dje@google.com>2013-03-06 21:20:02 +0000
commit7b6c814ed788b71c0cd9a1bf72093f2f928c4aa7 (patch)
tree3dc4aeac065900b3cc12851afa56d635550ce47a /gdb/elfread.c
parent634334ab5ea40ac0a17e5a020a772ed14c23fcb7 (diff)
downloadgdb-7b6c814ed788b71c0cd9a1bf72093f2f928c4aa7.zip
gdb-7b6c814ed788b71c0cd9a1bf72093f2f928c4aa7.tar.gz
gdb-7b6c814ed788b71c0cd9a1bf72093f2f928c4aa7.tar.bz2
* elfread.c (elf_symfile_read): Move debugging printf to more
logical 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 43c32b2..6ab3a6a 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. */