From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17620 invoked by alias); 15 May 2015 21:25:47 -0000 Mailing-List: contact gdb-testers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-testers-owner@sourceware.org Received: (qmail 17610 invoked by uid 89); 15 May 2015 21:25:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (176.31.208.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 15 May 2015 21:25:46 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] Non bit-packed packed arrays as variable-length fields From: sergiodj+buildbot@redhat.com To: gdb-testers@sourceware.org Message-Id: <931e5bc3e19d1e279fc28c5cf5571f812c79b8d3@kwanyin> Date: Fri, 15 May 2015 21:25:00 -0000 X-SW-Source: 2015-q2/txt/msg04460.txt.bz2 *** TEST RESULTS FOR COMMIT 931e5bc3e19d1e279fc28c5cf5571f812c79b8d3 *** Author: Jerome Guitton Branch: master Commit: 931e5bc3e19d1e279fc28c5cf5571f812c79b8d3 Non bit-packed packed arrays as variable-length fields In the case of non bit-packed arrays, GNAT does not generate its traditional XP encoding; it is not needed. However, it still generates the so-called "implementation type" with a P suffix. This implementation type shall be skipped when looking for other descriptive types such as XA encodings for variable-length fields. Note also that there may be an intermediate typedef between the implementation type and its XA description. It shall be skipped as well. gdb/ChangeLog: Jerome Guitton * ada-lang.c (find_parallel_type_by_descriptive_type): Go through typedefs during lookup. (to_fixed_array_type): Add support for non-bit packed arrays as variable-length fields. gdb/testsuite/ChangeLog: * gdb.ada/byte_packed_arr: New testcase.