From 4836aef1e4ab80ce9b11c6c4385c167b503bc782 Mon Sep 17 00:00:00 2001 From: Curtis Dunham Date: Sat, 27 Sep 2014 09:08:33 -0400 Subject: [PATCH] dev: Output invalid access size in IsaFake panic --- src/dev/isa_fake.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); 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); -- 2.30.2