changeset 98e8aa1585a7 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=98e8aa1585a7
description:
        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:

 util/statetrace/base/tracechild.cc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 01b16bab6675 -r 98e8aa1585a7 util/statetrace/base/tracechild.cc
--- a/util/statetrace/base/tracechild.cc        Sat Feb 06 17:21:20 2016 -0800
+++ b/util/statetrace/base/tracechild.cc        Sat Feb 06 17:21:20 2016 -0800
@@ -108,7 +108,7 @@
           default: cout << "Unknown error" << endl; break;
         }
         cout << "Not able to single step!" << endl;
-        tracing == false;
+        tracing = false;
         return false;
     }
     doWait();
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to