This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Getting DWARF codes from RTX


On 10/20/2011 06:53 AM, Iyer, Balaji V wrote:

So, I need the equivalent dwarf code (in hex) for DW_OP_REG1, DW_OP_REG2 and DW_OP_REG3, so that a dwarf decoder can decode it correctly.

It's not clear what you mean by the dwarf code for DW_OP_REG1, etc. Encoding for DW_OP_REG1, etc., is described in the Dwarf Standard on page 166. See http://dwarfstd.org.

If you are looking for translation between gcc register numbers
and the Dwarf register numbers, look in dwarf2out.c.  Search for DBX_REGISTER_NUMBER.

--
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]