* gdbtypes.c (create_range_type): If indextype has TYPE_FLAG_STUB
authorPer Bothner <per@bothner.com>
Wed, 29 Mar 1995 01:11:45 +0000 (01:11 +0000)
committerPer Bothner <per@bothner.com>
Wed, 29 Mar 1995 01:11:45 +0000 (01:11 +0000)
commite55a579687331adfe9a5f46d115a903a87451284
treebd9f540c637c14cd34031ab80f7e2e642e837942
parent7d777b91ad1899323f4e61354ef67058ff583a1e
* gdbtypes.c (create_range_type):  If indextype has TYPE_FLAG_STUB
set, set TYPE_FLAG_TARGET_STUB.
(check_stub_type):  Recalculate TYPE_LENGTH for range type.
* stabsread.c (read_range_type):  If index type number is followed
by '=', back up, call read_type. and assume we have a true range.
* gdbtypes.h (TYPE_FLAG_TARGET_STUB):  Update comment.
This fixes PR 6632.
gdb/ChangeLog
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/stabsread.c