make m5 panic a little more verbose
authorAli Saidi <saidi@eecs.umich.edu>
Thu, 11 May 2006 21:17:47 +0000 (17:17 -0400)
committerAli Saidi <saidi@eecs.umich.edu>
Thu, 11 May 2006 21:17:47 +0000 (17:17 -0400)
--HG--
extra : convert_revision : 32f52d829040c06c8a62cab1a7af1ed3b453b6f9

arch/alpha/isa/decoder.isa

index e09673269254d7348149ef88b8d568943cd6fcfc..f46e32fd13a55d26f43d26ec51a25ef9409b3524 100644 (file)
@@ -810,7 +810,7 @@ decode OPCODE default Unknown::unknown() {
                 AlphaPseudo::addsymbol(xc->xcBase(), R16, R17);
             }}, IsNonSpeculative);
             0x54: m5panic({{
-                panic("M5 panic instruction called.");
+                panic("M5 panic instruction called at pc=%#x.", xc->readPC());
             }}, IsNonSpeculative);
 
         }