This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] elfread.c: Move debugging printf to a better location (again)


Hi.
I know I moved this printf once already, but I obviously wasn't
paying attention.

Committed.

2013-08-23  Doug Evans  <dje@google.com>

	* elfread.c (elf_symfile_read): Move "Done reading minimal symbols"
	debugging printf to better location.

diff -u -p -r1.157 elfread.c
--- elfread.c	20 Aug 2013 15:04:51 -0000	1.157
+++ elfread.c	24 Aug 2013 00:11:59 -0000
@@ -1364,6 +1364,9 @@ elf_symfile_read (struct objfile *objfil
   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 *objfil
 				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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]