public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* Task.getIsa() -> frysk.isa.ISA Task.getISA()
@ 2007-10-03  2:26 Andrew Cagney
  0 siblings, 0 replies; only message in thread
From: Andrew Cagney @ 2007-10-03  2:26 UTC (permalink / raw)
  To: frysk

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-03  2:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-03  2:26 Task.getIsa() -> frysk.isa.ISA Task.getISA() Andrew Cagney

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).