From: Julian Seward Date: Wed, 4 Apr 2012 17:42:02 +0000 (+0000) Subject: Comment-only fix. (Tom Tromey ) X-Git-Tag: svn/VALGRIND_3_8_0~370 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0132afaaaa30c18d7f7f57a421756d25761d644;p=thirdparty%2Fvalgrind.git Comment-only fix. (Tom Tromey ) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12487 --- diff --git a/coregrind/m_debuginfo/readdwarf3.c b/coregrind/m_debuginfo/readdwarf3.c index bb90ef6d38..35280cef7c 100644 --- a/coregrind/m_debuginfo/readdwarf3.c +++ b/coregrind/m_debuginfo/readdwarf3.c @@ -71,7 +71,7 @@ ML_(sizeOfType): differentiate between zero sized types and types for which the size is unknown. Is this important? I don't know. - DW_AT_array_types: deal with explicit sizes (currently we compute + DW_TAG_array_types: deal with explicit sizes (currently we compute the size from the bounds and the element size, although that's fragile, if the bounds incompletely specified, or completely absent) @@ -85,7 +85,7 @@ expressions correctly, by failing to evaluate them and hence effectively ignoring the variable with which they are associated. - Deal with DW_AT_array_types which have element size != stride + Deal with DW_TAG_array_types which have element size != stride In some cases, the info for a variable is split between two different DIEs (generally a declarer and a definer). We punt on