aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-04-07 20:43:51 +0000
committerDoug Evans <dje@google.com>2009-04-07 20:43:51 +0000
commitd10c338de31f3a16299088e24830d12197f2ec42 (patch)
treef7099e66057eecd3c0a871228863fbc604669082 /gdb/symfile.c
parentbb6198d22476adbc42e66f0dfc2cbdd493cdc85a (diff)
downloadgdb-d10c338de31f3a16299088e24830d12197f2ec42.zip
gdb-d10c338de31f3a16299088e24830d12197f2ec42.tar.gz
gdb-d10c338de31f3a16299088e24830d12197f2ec42.tar.bz2
* symfile.c (symbol_file_clear): Fix indentation.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index f25c45e..af1ab74 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -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