projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2728f7b
)
util: fix apparent statetrace bug
author
Steve Reinhardt
<steve.reinhardt@amd.com>
Sun, 7 Feb 2016 01:21:20 +0000
(17:21 -0800)
committer
Steve Reinhardt
<steve.reinhardt@amd.com>
Sun, 7 Feb 2016 01:21:20 +0000
(17:21 -0800)
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).
util/statetrace/base/tracechild.cc
patch
|
blob
|
history
diff --git
a/util/statetrace/base/tracechild.cc
b/util/statetrace/base/tracechild.cc
index d22f2fd4346befc62bf158b73ed116309b4864b2..ef85dad3bb495e967f3b791e01f72864b2a0f0f5 100644
(file)
--- 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();