[Dwarf-Discuss] Register kinds
Michael Eager
eager@eagercon.com
Mon Nov 1 16:12:35 GMT 2010
Relph, Richard wrote:
> When establishing a mapping from DWARF on to a new machine architecture,
> one has to establish a mechanism for referring to registers.
>
> If the architecture supports more than one kind of register, what?s the
> recommended approach for ?naming? registers of a kind other than the
> most common?
Take a look at the PowerPC (RS6000) for an example of an
architecture with a variety of register types. General and
FP regs get low numbers, all others have more-or-less
arbitrary register numbers.
--
Michael Eager eager at eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
More information about the Dwarf-discuss
mailing list