aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index 415ee18..ffe00d5 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -662,10 +662,13 @@ coff_symfile_read (objfile, section_offsets, mainline)
/* Sort symbols alphabetically within each block. */
- for (s = objfile -> symtabs; s != NULL; s = s -> next)
- {
- sort_symtab_syms (s);
- }
+ {
+ struct symtab *s;
+ for (s = objfile -> symtabs; s != NULL; s = s -> next)
+ {
+ sort_symtab_syms (s);
+ }
+ }
/* Install any minimal symbols that have been collected as the current
minimal symbols for this objfile. */