From: Steve Reinhardt Date: Sun, 7 Feb 2016 01:21:20 +0000 (-0800) Subject: util: fix apparent statetrace bug X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e65e25e257f30f2185bc4c4bd06e5b1fdb9688d;p=gem5.git 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). --- 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();