This is the mail archive of the frysk@sourceware.org mailing list for the frysk 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]

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


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