dev: Output invalid access size in IsaFake panic
authorCurtis Dunham <Curtis.Dunham@arm.com>
Sat, 27 Sep 2014 13:08:33 +0000 (09:08 -0400)
committerCurtis Dunham <Curtis.Dunham@arm.com>
Sat, 27 Sep 2014 13:08:33 +0000 (09:08 -0400)
src/dev/isa_fake.cc

index 81c7a4dcdcb35feae87a78749fca66303993c7f4..235dc3098c864c8fc3366cd69a091fc91aba201a 100644 (file)
@@ -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);