diff options
author | Curtis Dunham <Curtis.Dunham@arm.com> | 2014-09-27 09:08:33 -0400 |
---|---|---|
committer | Curtis Dunham <Curtis.Dunham@arm.com> | 2014-09-27 09:08:33 -0400 |
commit | 4836aef1e4ab80ce9b11c6c4385c167b503bc782 (patch) | |
tree | b98b7c9bd971a173df35ab9303d84477ac1944ec | |
parent | b7f1d675da6e3887e956bf253fef77913d38a3dc (diff) | |
download | gem5-4836aef1e4ab80ce9b11c6c4385c167b503bc782.tar.xz |
dev: Output invalid access size in IsaFake panic
-rw-r--r-- | src/dev/isa_fake.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/isa_fake.cc b/src/dev/isa_fake.cc index 81c7a4dcd..235dc3098 100644 --- a/src/dev/isa_fake.cc +++ b/src/dev/isa_fake.cc @@ -110,7 +110,7 @@ IsaFake::write(PacketPtr pkt) data = pkt->get<uint8_t>(); break; default: - panic("invalid access size!\n"); + panic("invalid access size: %u\n", pkt->getSize()); } warn("Device %s accessed by write to address %#x size=%d data=%#x\n", name(), pkt->getAddr(), pkt->getSize(), data); |