OSDN Git Service

* symfile.c (symbol_file_clear): Fix indentation.
authordevans <devans>
Tue, 7 Apr 2009 20:43:49 +0000 (20:43 +0000)
committerdevans <devans>
Tue, 7 Apr 2009 20:43:49 +0000 (20:43 +0000)
gdb/ChangeLog
gdb/symfile.c

index 8f9609f..0df9e94 100644 (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.
index f25c45e..af1ab74 100644 (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