From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30300 invoked by alias); 13 Jun 2011 15:30:58 -0000 Received: (qmail 30291 invoked by uid 22791); 13 Jun 2011 15:30:57 -0000 X-SWARE-Spam-Status: No, hits=-6.9 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; Mon, 13 Jun 2011 15:30:43 +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.14.4/8.14.4) with ESMTP id p5DFUhhd012376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 13 Jun 2011 11:30:43 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p5DFUggR006591; Mon, 13 Jun 2011 11:30:42 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p5DFUelJ015021; Mon, 13 Jun 2011 11:30:40 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 1809E378232; Mon, 13 Jun 2011 09:30:39 -0600 (MDT) From: Tom Tromey To: Jakub Jelinek Cc: Richard Henderson , Jason Merrill , Cary Coutant , gcc-patches@gcc.gnu.org, Roland McGrath , Jan Kratochvil , Mark Wielaard Subject: Re: Typed DWARF stack and convert to untyped References: <20110325113237.GY18914@tyan-ft48-01.lab.bos.redhat.com> <20110609145319.GO17079@tyan-ft48-01.lab.bos.redhat.com> Date: Mon, 13 Jun 2011 15:34:00 -0000 In-Reply-To: <20110609145319.GO17079@tyan-ft48-01.lab.bos.redhat.com> (Jakub Jelinek's message of "Thu, 9 Jun 2011 16:53:19 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg00976.txt.bz2 >>>>> "Jakub" == Jakub Jelinek writes: Jakub> I'd like to propose convert to untyped operation, e.g. Jakub> DW_OP_GNU_convert <0> could do it (and maybe DW_OP_GNU_reinterpret <0>), Jakub> these would convert to an integral value of the same size as DWARF Jakub> address and make it untyped. As DW_OP_GNU_convert operand is Jakub> uleb128 DIE offset within current CU, offset 0 certainly won't Jakub> contain any DIEs, because it is the first byte of the CU header. FWIW, I wrote the GDB change for this. It is ready to go in whenever this patch is accepted for GCC. Tom