* elfread.c (elf_symfile_read): Move "Done reading minimal symbols"
authorDoug Evans <dje@google.com>
Sat, 24 Aug 2013 00:12:25 +0000 (00:12 +0000)
committerDoug Evans <dje@google.com>
Sat, 24 Aug 2013 00:12:25 +0000 (00:12 +0000)
debugging printf to better location.

gdb/ChangeLog
gdb/elfread.c

index 9ca0e1eb3d2d909474e057a9048ed8d3c4d6de7d..f85a978679e334ca8a6c0c7d07b9cf9d842a9ee7 100644 (file)
@@ -1,3 +1,8 @@
+2013-08-23  Doug Evans  <dje@google.com>
+
+       * elfread.c (elf_symfile_read): Move "Done reading minimal symbols"
+       debugging printf to better location.
+
 2013-08-23  Pedro Alves  <palves@redhat.com>
 
        * target.c (target_read_live_memory): Change type of 'ret' local
index d16287aeb9f82430d2bd134cfb34190e4c91ef02..b5c10464000083db32209f680a18f992821eed35 100644 (file)
@@ -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
This page took 0.03069 seconds and 4 git commands to generate.