forked from Imagelibrary/binutils-gdb
* ada-lang.c (ada_evaluate_subexp): Add cases for BINOP_LOGICAL_AND,
BINOP_LOGICAL_OR, UNOP_LOGICAL_NOT, BINOP_BITWISE_IOR,
BINOP_BITWISE_XOR, BINOP_BITWISE_AND.
* language.c (lang_bool_type): Add Ada case.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user