diff options
author | Mitch Hayenga <Mitch.Hayenga@ARM.com> | 2014-04-01 14:24:36 -0500 |
---|---|---|
committer | Mitch Hayenga <Mitch.Hayenga@ARM.com> | 2014-04-01 14:24:36 -0500 |
commit | a0d30f36a6cdc7f686be0e6145e78e030ef973c3 (patch) | |
tree | 7f8929d802ea8f8b8fde756a31f095e5a6ffbaa5 /src | |
parent | 0fad0c7f7dbb91b693805f94f1cf4040590491a0 (diff) | |
download | gem5-a0d30f36a6cdc7f686be0e6145e78e030ef973c3.tar.xz |
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 (limited to 'src')
-rw-r--r-- | src/mem/cache/blk.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/cache/blk.hh b/src/mem/cache/blk.hh index c65498f07..d38281e48 100644 --- a/src/mem/cache/blk.hh +++ b/src/mem/cache/blk.hh @@ -339,8 +339,8 @@ class CacheBlk 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); } /** |