diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-10-08 23:24:32 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-10-08 23:24:32 -0700 |
commit | bfec60ad3a24a0977e9da2b052614c273918bd5d (patch) | |
tree | d45b1e7152f484acb5de6616724f098c8f84d849 | |
parent | d3683440923051607ae96974fb2bdc5783993bf4 (diff) | |
download | gem5-bfec60ad3a24a0977e9da2b052614c273918bd5d.tar.xz |
Ports: Print the port name when a port is used but not attached to anything.
-rw-r--r-- | src/dev/io_device.cc | 2 |
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); } |