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]

Re: ISA checks for factories


Phil Muldoon wrote:
I'm still a little fuzzy on how it can be used to detected IA 32 on 64, or PPC32 On 64?


Answering my own question. I looked at the code, and it appears that Task.getISA() will return the contextually correct ISA for the situation in hand. So for a 32bit process on x8664 it will return the 32 bit ISA and so on. Previously one had to instance check the ISA as a 32On64 ISA was returned explicitly.


I'll rewrite the LinuxCorefileFactory to use this new method now.

Regards

Phil



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