Fixed reading of instruction pointer for gem5.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2004 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -18,9 +18,16 @@ void ArmArchitecture::fillRegisterList()
|
||||
// Build and set the register name:
|
||||
std::stringstream sstr;
|
||||
sstr << "R" << i+1;
|
||||
reg->setName(str.str());
|
||||
// FIXME This doesn't work because no matching setName is found.
|
||||
// Not sure why this happens.
|
||||
//reg->setName(sstr.str());
|
||||
addRegister(reg);
|
||||
}
|
||||
|
||||
// Instruction Pointer
|
||||
Register *reg = new Register(RI_IP, RT_IP, 32);
|
||||
reg->setName("IP");
|
||||
addRegister(reg);
|
||||
}
|
||||
|
||||
ArmArchitecture::~ArmArchitecture()
|
||||
|
||||
Reference in New Issue
Block a user