From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25662 invoked by alias); 10 Nov 2010 05:06:23 -0000 Received: (qmail 25647 invoked by uid 22791); 10 Nov 2010 05:06:22 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,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; Wed, 10 Nov 2010 05:06:18 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oAA55sDR020114 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 10 Nov 2010 00:05:54 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id oAA55nnk011880 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 10 Nov 2010 00:05:53 -0500 Received: from host0.dyn.jankratochvil.net (localhost.localdomain [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id oAA55juN000896; Wed, 10 Nov 2010 06:05:46 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id oAA55gf8000895; Wed, 10 Nov 2010 06:05:42 +0100 Date: Wed, 10 Nov 2010 05:06:00 -0000 From: Jan Kratochvil To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [DWARF/RFC] end-address overflow in location description entry Message-ID: <20101110050541.GA32418@host0.dyn.jankratochvil.net> References: <20101109193527.GI2811@adacore.com> <20101109194201.GK2933@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101109194201.GK2933@adacore.com> 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: 2010-11/txt/msg00143.txt.bz2 On Tue, 09 Nov 2010 20:42:01 +0100, Joel Brobecker wrote: > Here is the actual patch (lacking comments, but this is only for > experimenting). If we decide to handle this situation, I'll add > proper comments. FYI it seems correct to me, GDB should be relaxed on input. Such DWARF does not conform to DWARF-4 2.6.2 Location Lists. For sanity checking DWARF there is a separate tool under development - dwarflint, by Petr Machata, dwarlint is a part of elfutils. Regards, Jan