summaryrefslogtreecommitdiff
path: root/util/statetrace/arch/tracechild_arm.hh
diff options
context:
space:
mode:
Diffstat (limited to 'util/statetrace/arch/tracechild_arm.hh')
-rw-r--r--util/statetrace/arch/tracechild_arm.hh19
1 files changed, 12 insertions, 7 deletions
diff --git a/util/statetrace/arch/tracechild_arm.hh b/util/statetrace/arch/tracechild_arm.hh
index 79eccd891..cd998ddaa 100644
--- a/util/statetrace/arch/tracechild_arm.hh
+++ b/util/statetrace/arch/tracechild_arm.hh
@@ -84,18 +84,21 @@ class ARMTraceChild : public TraceChild
ARMTraceChild();
bool sendState(int socket);
- int getNumRegs()
+ int
+ getNumRegs()
{
return numregs;
}
- bool diffSinceUpdate(int num)
+ bool
+ diffSinceUpdate(int num)
{
assert(num < numregs && num >= 0);
return regDiffSinceUpdate[num];
}
- std::string getRegName(int num)
+ std::string
+ getRegName(int num)
{
assert(num < numregs && num >= 0);
return regNames[num];
@@ -106,14 +109,16 @@ class ARMTraceChild : public TraceChild
bool step();
- uint64_t getPC()
+ uint64_t
+ getPC()
{
- return getRegVal(PC);
+ return getRegVal(PC);
}
- uint64_t getSP()
+ uint64_t
+ getSP()
{
- return getRegVal(SP);
+ return getRegVal(SP);
}
char * printReg(int num);