public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [commit] objfiles.c (free_objfile): Move comment.
@ 2013-09-25  0:16 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2013-09-25  0:16 UTC (permalink / raw)
  To: gdb-patches

Hi.

fyi, committed.

2013-09-24  Doug Evans  <dje@google.com>

	* objfiles.c (free_objfile): Move comment.

diff -u -p -r1.163 objfiles.c
--- objfiles.c	20 Aug 2013 15:04:51 -0000	1.163
+++ objfiles.c	25 Sep 2013 00:14:04 -0000
@@ -642,8 +642,6 @@ free_objfile (struct objfile *objfile)
       clear_current_source_symtab_and_line ();
   }
 
-  /* The last thing we do is free the objfile struct itself.  */
-
   if (objfile->global_psymbols.list)
     xfree (objfile->global_psymbols.list);
   if (objfile->static_psymbols.list)
@@ -657,6 +655,7 @@ free_objfile (struct objfile *objfile)
   /* Rebuild section map next time we need it.  */
   get_objfile_pspace_data (objfile->pspace)->section_map_dirty = 1;
 
+  /* The last thing we do is free the objfile struct itself.  */
   xfree (objfile);
 }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-25  0:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-25  0:16 [commit] objfiles.c (free_objfile): Move comment Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).