diff options
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r-- | gdb/stabsread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c index e873610..480bb1c 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -3434,6 +3434,7 @@ read_one_struct_field (fip, pp, p, type, objfile) and treat enums as if they had the width of ints. */ if (TYPE_CODE (FIELD_TYPE (fip->list->field)) != TYPE_CODE_INT + && TYPE_CODE (FIELD_TYPE (fip->list->field)) != TYPE_CODE_RANGE && TYPE_CODE (FIELD_TYPE (fip->list->field)) != TYPE_CODE_BOOL && TYPE_CODE (FIELD_TYPE (fip->list->field)) != TYPE_CODE_ENUM) { |