* elfread.c (elf_symfile_read): Move debugging printf to more
authorDoug Evans <dje@google.com>
Wed, 6 Mar 2013 21:20:02 +0000 (21:20 +0000)
committerDoug Evans <dje@google.com>
Wed, 6 Mar 2013 21:20:02 +0000 (21:20 +0000)
logical location.

gdb/ChangeLog
gdb/elfread.c

index 26c50a2ed5bf722425253e048250d7edec040f2e..a8e681a810ea1e2001ac5db4cdd76f9123fa0c6f 100644 (file)
@@ -1,3 +1,8 @@
+2013-03-06  Doug Evans  <dje@google.com>
+
+       * elfread.c (elf_symfile_read): Move debugging printf to more
+       logical location.
+
 2013-03-06  Pedro Alves  <palves@redhat.com>
 
        * python/py-utils.c (target_string_to_unicode): Delete function.
index 43c32b2c63ee1b87d7bbf07f1f45d99af19c6511..6ab3a6a0a864ae637f6e16cd6656413787d39e49 100644 (file)
@@ -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.  */