mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-18 23:13:46 +00:00
* ada-lang.c (discrete_type_p): TYPE_CODE_BOOL is also a discrete type.
This commit is contained in:
parent
2d9c5cff78
commit
872f033780
@ -1,3 +1,7 @@
|
||||
2009-11-19 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* ada-lang.c (discrete_type_p): TYPE_CODE_BOOL is also a discrete type.
|
||||
|
||||
2009-11-19 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* completer.c (complete_line_internal): Make sure the command
|
||||
|
@ -3585,6 +3585,7 @@ discrete_type_p (struct type *type)
|
||||
case TYPE_CODE_INT:
|
||||
case TYPE_CODE_RANGE:
|
||||
case TYPE_CODE_ENUM:
|
||||
case TYPE_CODE_BOOL:
|
||||
return 1;
|
||||
default:
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user