* objfiles.c (allocate_objfile): Move comment to better place.
authorDoug Evans <dje@google.com>
Thu, 26 Sep 2013 01:08:35 +0000 (01:08 +0000)
committerDoug Evans <dje@google.com>
Thu, 26 Sep 2013 01:08:35 +0000 (01:08 +0000)
gdb/ChangeLog
gdb/objfiles.c

index 47c28d6d443946c176735be568dab54b022c14dc..d89e56629b534fb0a10b5cdaf3cdbb33bc89b509 100644 (file)
@@ -1,5 +1,7 @@
 2013-09-25  Doug Evans  <dje@google.com>
 
+       * objfiles.c (allocate_objfile): Move comment to better place.
+
        New option "set debug symfile on".
        * NEWS: Mention "set debug symfile".
        * Makefile.in (SFILES): Add symfile-debug.c.
index 59ab632f7370cd70adb6aea98edc0fcda6eaaef5..b10f803540fa3767c276e5ac7a834e26cf0f3dd1 100644 (file)
@@ -280,10 +280,6 @@ allocate_objfile (bfd *abfd, const char *name, int flags)
 
   objfile_alloc_data (objfile);
 
-  /* Update the per-objfile information that comes from the bfd, ensuring
-     that any data that is reference is saved in the per-objfile data
-     region.  */
-
   if (name == NULL)
     {
       gdb_assert (abfd == NULL);
@@ -292,6 +288,10 @@ allocate_objfile (bfd *abfd, const char *name, int flags)
   objfile->original_name = obstack_copy0 (&objfile->objfile_obstack, name,
                                          strlen (name));
 
+  /* Update the per-objfile information that comes from the bfd, ensuring
+     that any data that is reference is saved in the per-objfile data
+     region.  */
+
   objfile->obfd = abfd;
   gdb_bfd_ref (abfd);
   if (abfd != NULL)
This page took 0.029251 seconds and 4 git commands to generate.