From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32171 invoked by alias); 26 Apr 2012 20:33:02 -0000 Received: (qmail 32163 invoked by uid 22791); 26 Apr 2012 20:33:02 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 Apr 2012 20:32:48 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3QKWlVL008466 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 26 Apr 2012 16:32:47 -0400 Received: from host2.jankratochvil.net (ovpn-116-17.ams2.redhat.com [10.36.116.17]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3QKWixI001778 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 26 Apr 2012 16:32:46 -0400 Date: Thu, 26 Apr 2012 20:35:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: [commit] [patch] Fix DW_AT_lower_bound DWARF-4+ defaults Message-ID: <20120426203243.GA1070@host2.jankratochvil.net> References: <20120426150708.GA31687@host2.jankratochvil.net> <87pqau8qan.fsf@fleche.redhat.com> <20120426153753.GA3590@host2.jankratochvil.net> <87ipgm8pnd.fsf@fleche.redhat.com> <20120426160952.GA18206@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120426160952.GA18206@host2.jankratochvil.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00964.txt.bz2 On Thu, 26 Apr 2012 18:09:52 +0200, Jan Kratochvil wrote: > gdb/ > 2012-04-26 Jan Kratochvil > > Fix DW_AT_lower_bound defaults for DWARF-4+. > * dwarf2read.c (read_subrange_type): Remove initialization of low and > high. New variable low_default_is_valid. Implement DWARF-4+ > DW_AT_lower_bound defaults. Print complaint for DW_AT_lower_bound with > no default by the DWARF standard. Checked it in to fix the testsuite results regressed by GCC: http://sourceware.org/ml/gdb-cvs/2012-04/msg00219.html Thanks, Jan