From: Brad Beckmann Date: Wed, 18 Nov 2009 21:55:57 +0000 (-0800) Subject: ruby: Added more info to bridge error message X-Git-Tag: stable_2012_02_02~1575^2~55 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7a4f665ed72b221e8210cc79bbd8edf967a4a4a;p=gem5.git ruby: Added more info to bridge error message --- diff --git a/src/mem/bridge.cc b/src/mem/bridge.cc index cc9b83d3e..d0135fc9d 100644 --- a/src/mem/bridge.cc +++ b/src/mem/bridge.cc @@ -93,7 +93,9 @@ Bridge::init() fatal("Both ports of bus bridge are not connected to a bus.\n"); if (portA.peerBlockSize() != portB.peerBlockSize()) - fatal("Busses don't have the same block size... Not supported.\n"); + fatal("port A size %d, port B size %d \n " \ + "Busses don't have the same block size... Not supported.\n", + portA.peerBlockSize(), portB.peerBlockSize()); } bool