From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15641 invoked by alias); 6 May 2013 19:40:20 -0000 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 Received: (qmail 15632 invoked by uid 89); 6 May 2013 19:40:20 -0000 X-Spam-SWARE-Status: No, score=-7.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 06 May 2013 19:40:20 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r46JeIMi030983 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 6 May 2013 15:40:18 -0400 Received: from barimba (ovpn-113-163.phx2.redhat.com [10.3.113.163]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r46JeAmn026689 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 6 May 2013 15:40:14 -0400 From: Tom Tromey To: gdb-patches@sourceware.org Subject: Re: [3/4] fix DW_OP_GNU_implicit_pointer pointing to a constant References: <87vc7ukvl0.fsf@fleche.redhat.com> Date: Mon, 06 May 2013 19:40:00 -0000 In-Reply-To: <87vc7ukvl0.fsf@fleche.redhat.com> (Tom Tromey's message of "Wed, 10 Apr 2013 13:57:15 -0600") Message-ID: <87a9o7yk11.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-05/txt/msg00145.txt.bz2 >>>>> "Tom" == Tom Tromey writes: Tom> * dwarf2loc.c (invalid_synthetic_pointer): Move earlier. Tom> (indirect_pieced_value): Call dwarf2_fetch_constant_bytes Tom> if needed. Tom> * dwarf2loc.h (dwarf2_fetch_constant_bytes): Declare. Tom> * dwarf2read.c (write_constant_as_bytes) Tom> (dwarf2_fetch_constant_bytes): New functions. Tom> * gdb.dwarf2/implptrconst.c: New file. Tom> * gdb.dwarf2/implptrconst.exp: New file. Tom> * lib/dwarf.exp (Dwarf::_nz_quote): New proc. Tom> (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1. Tom> (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer. I'm checking this in now. Tom