Browse Source

* objfiles.c (free_objfile): Move comment.

gdb-7.7-branch
Doug Evans 13 years ago
parent
commit
020f703635
  1. 4
      gdb/ChangeLog
  2. 3
      gdb/objfiles.c

4
gdb/ChangeLog

@ -1,3 +1,7 @@
2013-09-24 Doug Evans <dje@google.com>
* objfiles.c (free_objfile): Move comment.
2013-09-24 Joel Brobecker <brobecker@adacore.com>
* ada-exp.y (string_to_operator): Delete.

3
gdb/objfiles.c

@ -645,8 +645,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)
@ -660,6 +658,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);
}

Loading…
Cancel
Save