diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2016-02-06 17:21:20 -0800 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2016-02-06 17:21:20 -0800 |
commit | 4e65e25e257f30f2185bc4c4bd06e5b1fdb9688d (patch) | |
tree | 6c54480f9a897767166ee1f44bdba4c83643013c /util/statetrace | |
parent | 2728f7bd81a9da729247851199fc0858f6b84aed (diff) | |
download | gem5-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.cc | 2 |
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(); |