summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCurtis Dunham <Curtis.Dunham@arm.com>2014-09-27 09:08:33 -0400
committerCurtis Dunham <Curtis.Dunham@arm.com>2014-09-27 09:08:33 -0400
commit4836aef1e4ab80ce9b11c6c4385c167b503bc782 (patch)
treeb98b7c9bd971a173df35ab9303d84477ac1944ec
parentb7f1d675da6e3887e956bf253fef77913d38a3dc (diff)
downloadgem5-4836aef1e4ab80ce9b11c6c4385c167b503bc782.tar.xz
dev: Output invalid access size in IsaFake panic
-rw-r--r--src/dev/isa_fake.cc2
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);