summaryrefslogtreecommitdiff
path: root/util/statetrace
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2016-02-06 17:21:20 -0800
committerSteve Reinhardt <steve.reinhardt@amd.com>2016-02-06 17:21:20 -0800
commit4e65e25e257f30f2185bc4c4bd06e5b1fdb9688d (patch)
tree6c54480f9a897767166ee1f44bdba4c83643013c /util/statetrace
parent2728f7bd81a9da729247851199fc0858f6b84aed (diff)
downloadgem5-4e65e25e257f30f2185bc4c4bd06e5b1fdb9688d.tar.xz
util: fix apparent statetrace bug
In the process of trying to eliminate boolean comparisons, I ran across this statement that appears to be a bug (should have been an assignment).
Diffstat (limited to 'util/statetrace')
-rw-r--r--util/statetrace/base/tracechild.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/statetrace/base/tracechild.cc b/util/statetrace/base/tracechild.cc
index d22f2fd43..ef85dad3b 100644
--- a/util/statetrace/base/tracechild.cc
+++ b/util/statetrace/base/tracechild.cc
@@ -108,7 +108,7 @@ TraceChild::ptraceSingleStep()
default: cout << "Unknown error" << endl; break;
}
cout << "Not able to single step!" << endl;
- tracing == false;
+ tracing = false;
return false;
}
doWait();