aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-06-12 14:05:44 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-06-12 14:05:44 +0000
commit34e924c0665d359ed95eda418be085e2c49a1e7c (patch)
tree8c1319317bc5a106d0e118955120eda975c2ddf7 /gdb/coffread.c
parent80b756a06c4aabe1be6d9442bff2a316b955cc72 (diff)
downloadgdb-34e924c0665d359ed95eda418be085e2c49a1e7c.zip
gdb-34e924c0665d359ed95eda418be085e2c49a1e7c.tar.gz
gdb-34e924c0665d359ed95eda418be085e2c49a1e7c.tar.bz2
* symfile.c (add_symbol_file_command): Properly reformat "else if"
code. * coffread.c (coff_symtab_read): Ditto.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index f64fb9c..c781a34 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -982,22 +982,20 @@ coff_symtab_read (symtab_offset, nsyms, objfile)
SMASH_TEXT_ADDRESS (tmpaddr);
#endif
}
- else
- if (sec == SECT_OFF_DATA (objfile))
- {
+ else if (sec == SECT_OFF_DATA (objfile))
+ {
ms_type =
cs->c_sclass == C_EXT || cs->c_sclass == C_THUMBEXT ?
mst_data : mst_file_data;
- }
- else
- if (sec == SECT_OFF_BSS (objfile))
- {
+ }
+ else if (sec == SECT_OFF_BSS (objfile))
+ {
ms_type =
cs->c_sclass == C_EXT || cs->c_sclass == C_THUMBEXT ?
mst_data : mst_file_data;
- }
- else
- ms_type = mst_unknown;
+ }
+ else
+ ms_type = mst_unknown;
}
if (cs->c_name[0] != '@' /* Skip tdesc symbols */ )