aboutsummaryrefslogtreecommitdiff
path: root/gdb/mipsread.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-11-27 23:32:47 +0000
committerJohn Gilmore <gnu@cygnus>1991-11-27 23:32:47 +0000
commit52bd2c221fc584e776fdc34cd66753a965a8cacc (patch)
tree6c62a8e702f3badacbcac69b6dbcd937a83abb35 /gdb/mipsread.c
parent869eb845b17fd37f7fab0da7776d820a7b1b7b7c (diff)
downloadfsf-binutils-gdb-52bd2c221fc584e776fdc34cd66753a965a8cacc.zip
fsf-binutils-gdb-52bd2c221fc584e776fdc34cd66753a965a8cacc.tar.gz
fsf-binutils-gdb-52bd2c221fc584e776fdc34cd66753a965a8cacc.tar.bz2
Fix syntax errors.
Diffstat (limited to 'gdb/mipsread.c')
-rw-r--r--gdb/mipsread.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/mipsread.c b/gdb/mipsread.c
index 1002dee..193278d 100644
--- a/gdb/mipsread.c
+++ b/gdb/mipsread.c
@@ -173,6 +173,7 @@ static struct blockvector *new_bvect();
static struct type *parse_type();
static struct type *make_type();
+static struct type *make_struct_type();
static struct symbol *mylookup_symbol();
static struct block *shrink_block();
@@ -1071,10 +1072,10 @@ static struct type *parse_type(ax, sh, bs)
complain (&basic_type_complaint, t->bt);
return builtin_type_int;
}
- if (map_bt[t->bt])
+ if (map_bt[t->bt]) {
tp = *map_bt[t->bt];
fmt = "%s";
- else {
+ } else {
/* Cannot use builtin types -- build our own */
switch (t->bt) {
case btAdr: