aboutsummaryrefslogtreecommitdiff
path: root/gdb/mipsread.c
diff options
context:
space:
mode:
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: