From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18498 invoked by alias); 20 Oct 2011 06:03:17 -0000 Received: (qmail 18474 invoked by uid 22791); 20 Oct 2011 06:03:15 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Oct 2011 06:03:01 +0000 Received: from hpaq14.eem.corp.google.com (hpaq14.eem.corp.google.com [172.25.149.14]) by smtp-out.google.com with ESMTP id p9K62x1v020793 for ; Wed, 19 Oct 2011 23:03:00 -0700 Received: from pzk4 (pzk4.prod.google.com [10.243.19.132]) by hpaq14.eem.corp.google.com with ESMTP id p9K626TZ021125 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 19 Oct 2011 23:02:58 -0700 Received: by pzk4 with SMTP id 4so8492899pzk.6 for ; Wed, 19 Oct 2011 23:02:57 -0700 (PDT) Received: by 10.68.209.37 with SMTP id mj5mr17710617pbc.123.1319090577817; Wed, 19 Oct 2011 23:02:57 -0700 (PDT) Received: by 10.68.209.37 with SMTP id mj5mr17710601pbc.123.1319090577681; Wed, 19 Oct 2011 23:02:57 -0700 (PDT) Received: from coign.google.com (adsl-71-133-8-30.dsl.pltn13.pacbell.net. [71.133.8.30]) by mx.google.com with ESMTPS id v8sm15327725pbf.8.2011.10.19.23.02.53 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 19 Oct 2011 23:02:56 -0700 (PDT) From: Ian Lance Taylor To: "Iyer\, Balaji V" Cc: "'gcc\@gcc.gnu.org'" Subject: Re: Getting DWARF codes from RTX References: <2950715866004049A240A2F9BB410E7315FB115EBC@azsmsx502.amr.corp.intel.com> Date: Thu, 20 Oct 2011 08:13:00 -0000 In-Reply-To: <2950715866004049A240A2F9BB410E7315FB115EBC@azsmsx502.amr.corp.intel.com> (Balaji V. Iyer's message of "Wed, 19 Oct 2011 20:26:01 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2011-10/txt/msg00334.txt.bz2 "Iyer, Balaji V" writes: > Is there a function (or a series of functions) in GCC using which I can convert a register number (either in RTX or int) to DWARF code? Are you looking for DWARF_FRAME_REGNUM? If not, what do you mean by DWARF code? Do you mean inside gcc, or in code compiled by gcc? Please give an example. Ian