public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <iant@google.com>
To: "Iyer\, Balaji V" <balaji.v.iyer@intel.com>
Cc: "'gcc\@gcc.gnu.org'" <gcc@gcc.gnu.org>
Subject: Re: Getting DWARF codes from RTX
Date: Fri, 21 Oct 2011 06:09:00 -0000	[thread overview]
Message-ID: <mcrd3drmqul.fsf@dhcp-172-18-216-180.mtv.corp.google.com> (raw)
In-Reply-To: <2950715866004049A240A2F9BB410E7315FB4D1C93@azsmsx502.amr.corp.intel.com>	(Balaji V. Iyer's message of "Thu, 20 Oct 2011 11:38:36 -0700")

"Iyer, Balaji V" <balaji.v.iyer@intel.com> writes:

> BVI> Actually what I want is to have a way to go from the rtx value e.g (REG: SI 1 di) to 0x51

That's just DW_OP_reg0 + DWARF_FRAME_REGNUM (REGNO (rtx)).  Assuming
REGNO (rtx) <= 31.

Ian

      reply	other threads:[~2011-10-20 18:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-20  5:43 Iyer, Balaji V
2011-10-20  8:13 ` Ian Lance Taylor
2011-10-20 14:41   ` Iyer, Balaji V
2011-10-20 18:59     ` Michael Eager
2011-10-20 21:11     ` Ian Lance Taylor
2011-10-20 22:46       ` Iyer, Balaji V
2011-10-21  6:09         ` Ian Lance Taylor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mcrd3drmqul.fsf@dhcp-172-18-216-180.mtv.corp.google.com \
    --to=iant@google.com \
    --cc=balaji.v.iyer@intel.com \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).