* symfile.c (symbol_file_clear): Fix indentation.

This commit is contained in:
Doug Evans 2009-04-07 20:43:51 +00:00
parent bb6198d224
commit d10c338de3
2 changed files with 13 additions and 9 deletions

View File

@ -1,3 +1,7 @@
2009-04-07 Doug Evans <dje@google.com>
* symfile.c (symbol_file_clear): Fix indentation.
2009-04-06 Mark Kettenis <kettenis@gnu.org>
* sparc64nbsd-nat.c (sparc64nbsd_supply_pcb): Fix comment.

View File

@ -1155,17 +1155,17 @@ symbol_file_clear (int from_tty)
symfile_objfile->name)
: !query (_("Discard symbol table? "))))
error (_("Not confirmed."));
free_all_objfiles ();
/* solib descriptors may have handles to objfiles. Since their
storage has just been released, we'd better wipe the solib
descriptors as well.
*/
no_shared_libraries (NULL, from_tty);
free_all_objfiles ();
symfile_objfile = NULL;
if (from_tty)
printf_unfiltered (_("No symbol file now.\n"));
/* solib descriptors may have handles to objfiles. Since their
storage has just been released, we'd better wipe the solib
descriptors as well. */
no_shared_libraries (NULL, from_tty);
symfile_objfile = NULL;
if (from_tty)
printf_unfiltered (_("No symbol file now.\n"));
}
struct build_id