This is the mail archive of the
frysk@sourceware.org
mailing list for the frysk project.
Task.getIsa() -> frysk.isa.ISA Task.getISA()
- From: Andrew Cagney <cagney at redhat dot com>
- To: frysk at sourceware dot org
- Date: Tue, 02 Oct 2007 22:23:58 -0400
- Subject: Task.getIsa() -> frysk.isa.ISA Task.getISA()
Hi,
I've expanded frysk.isa a little adding frysk.isa.ISA {.IA32, .X8664,
...} which can be used as a HashMap key. This packages locally select
isa specific structures without having to bloat the bloated frysk.proc.Isa.
For instance, the DWARF code needs to select a mapping between frysk and
dwarf register numbers. Instead of adding that to frysk.proc.Isa, a
local factory is implemented, keyed of Task.getISA(), that returns the
required information. See frysk.debuginfo.DwarfRegisterMapFactory.
Andrew