aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/language.c')
-rw-r--r--gdb/language.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/language.c b/gdb/language.c
index 84a095f..3355475 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -801,6 +801,7 @@ lang_bool_type (void)
return builtin_type_f_logical_s2;
case language_cplus:
case language_pascal:
+ case language_ada:
if (current_language->la_language==language_cplus)
{sym = lookup_symbol ("bool", NULL, VAR_DOMAIN, NULL, NULL);}
else
@@ -821,6 +822,7 @@ lang_bool_type (void)
return type;
}
return java_boolean_type;
+
default:
return builtin_type_int;
}