From ce22529028dd9d6afbd97851334ee4cb19f2e2a9 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Mon, 4 May 1998 15:16:42 +0000 Subject: * Fixes for chill PR 15681 Fri May 1 19:51:32 1998 Frank Ch. Eigler * stabsread.c (read_one_struct_field): Do not override supplied bitfield size for a range type value. * gdbtypes.c (create_range_type): For a range with positive lower limit, declare range type as unsigned. --- gdb/stabsread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/stabsread.c') 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) { -- cgit v1.1