From 1c5aa3f8cdd639bcd58894ad684020132d79690a Mon Sep 17 00:00:00 2001
From: Ali Saidi <saidi@eecs.umich.edu>
Date: Thu, 11 May 2006 17:17:47 -0400
Subject: [PATCH] make m5 panic a little more verbose

--HG--
extra : convert_revision : 32f52d829040c06c8a62cab1a7af1ed3b453b6f9
---
 arch/alpha/isa/decoder.isa | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/alpha/isa/decoder.isa b/arch/alpha/isa/decoder.isa
index e09673269..f46e32fd1 100644
--- a/arch/alpha/isa/decoder.isa
+++ b/arch/alpha/isa/decoder.isa
@@ -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);
 
         }
-- 
2.30.2