[repost] Support DW_AT_count inside DW_TAG_subrange_type
Vladimir Prus
ghost@cs.msu.su
Thu Jul 14 08:41:00 GMT 2005
Hello,
I've got not reply to the following message, which was posted on 31/05/2005.
Any change this patch will go in?
Original message below:
Hi,
the DWARF standard says that the DW_TAG_subrage_type tag can contain either
DW_AT_upper_bound or use DW_AT_count to specify upper bound relatively to
lower bound. The version 6.3 of gdb, and the current CVS, support only
DW_TAG_upper_bound.
The attached patch adds support for DW_AT_count.
The changelog entry could be:
2005-05-31 Vladimur Prus <ghost@cs.msu.su>
dwarf2read.c (read_subrange_type): If no DW_AT_upper_bound attribute
is present, try using DW_AT_count
Comments?
- Volodya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DW_AT_count.diff
Type: text/x-diff
Size: 629 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20050714/1b4bfc47/attachment.bin>
More information about the Gdb-patches
mailing list