projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
O3: Track if the RAS has been pushed or not to pop the RAS if neccessary.
[gem5.git]
/
src
/
cpu
/
nativetrace.hh
diff --git
a/src/cpu/nativetrace.hh
b/src/cpu/nativetrace.hh
index 9869853c4c338acfb4c5aac8d289d83c83441858..f6bf63d76f62ce9ecfea9c12e7a4fa8cb7f7bd3f 100644
(file)
--- a/
src/cpu/nativetrace.hh
+++ b/
src/cpu/nativetrace.hh
@@
-108,7
+108,7
@@
class NativeTrace : public ExeTracer
{
size_t soFar = 0;
while (soFar < size) {
- size_t res = ::read(fd, (uint8_t *)ptr + soFar, size - soFar);
+ s
s
ize_t res = ::read(fd, (uint8_t *)ptr + soFar, size - soFar);
if (res < 0)
panic("Read call failed! %s\n", strerror(errno));
else