changeset 0f5ced6ff69e in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=0f5ced6ff69e
description:
        Ports: Print the port name when a port is used but not attached to 
anything.

diffstat:

 src/dev/io_device.cc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 9df38d259935 -r 0f5ced6ff69e src/dev/io_device.cc
--- a/src/dev/io_device.cc      Tue Oct 04 02:26:03 2011 -0700
+++ b/src/dev/io_device.cc      Sat Oct 08 23:24:32 2011 -0700
@@ -71,7 +71,7 @@
 PioDevice::init()
 {
     if (!pioPort)
-        panic("Pio port not connected to anything!");
+        panic("Pio port %s not connected to anything!", name());
     pioPort->sendStatusChange(Port::RangeChange);
 }
 
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to