summaryrefslogtreecommitdiff
path: root/src/dev
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-10-08 23:24:32 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-10-08 23:24:32 -0700
commitbfec60ad3a24a0977e9da2b052614c273918bd5d (patch)
treed45b1e7152f484acb5de6616724f098c8f84d849 /src/dev
parentd3683440923051607ae96974fb2bdc5783993bf4 (diff)
downloadgem5-bfec60ad3a24a0977e9da2b052614c273918bd5d.tar.xz
Ports: Print the port name when a port is used but not attached to anything.
Diffstat (limited to 'src/dev')
-rw-r--r--src/dev/io_device.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/io_device.cc b/src/dev/io_device.cc
index c073ab501..3c64e2717 100644
--- a/src/dev/io_device.cc
+++ b/src/dev/io_device.cc
@@ -71,7 +71,7 @@ void
PioDevice::init()
{
if (!pioPort)
- panic("Pio port not connected to anything!");
+ panic("Pio port %s not connected to anything!", name());
pioPort->sendStatusChange(Port::RangeChange);
}