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.
This commit is contained in:
parent
0fad0c7f7d
commit
a0d30f36a6
1 changed files with 2 additions and 2 deletions
4
src/mem/cache/blk.hh
vendored
4
src/mem/cache/blk.hh
vendored
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue