changeset 73b035a42df1 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=73b035a42df1
description:
mem: Don't print out the data of a cache block
This never actually worked since it was printing out only a word
of the cache block and not the entire thing and doubly didn't work
csprintf overrides the %#x specifier and assumes a char* array is
actually a string.
diffstat:
src/mem/cache/blk.hh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r a6402a046e36 -r 73b035a42df1 src/mem/cache/blk.hh
--- a/src/mem/cache/blk.hh Wed Apr 23 05:18:20 2014 -0400
+++ b/src/mem/cache/blk.hh Tue Apr 01 14:24:36 2014 -0500
@@ -339,8 +339,8 @@
default: s = 'T'; break; // @TODO add other types
}
return csprintf("state: %x (%c) valid: %d writable: %d readable: %d "
- "dirty: %d tag: %x data: %x", status, s, isValid(),
- isWritable(), isReadable(), isDirty(), tag, *data);
+ "dirty: %d tag: %x", status, s, isValid(),
+ isWritable(), isReadable(), isDirty(), tag);
}
/**
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev