From b78b6341078624cf476e84475b088798609b4cef Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Wed, 23 Feb 2005 12:26:35 -0500 Subject: [PATCH 1/3] Fix the python panic message sim/pyconfig/m5config.py: Fix panic --HG-- extra : convert_revision : 56d93398e992ed6e95380f6dcdb61cbee54b3893 --- sim/pyconfig/m5config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/pyconfig/m5config.py b/sim/pyconfig/m5config.py index 6393fb0b8f..50032476c9 100644 --- a/sim/pyconfig/m5config.py +++ b/sim/pyconfig/m5config.py @@ -35,7 +35,7 @@ except: env = {} env.update(os.environ) -def panic(*args, **kwargs): +def panic(string): print >>sys.stderr, 'panic:', string sys.exit(1) From 4de9689135b3077e8fe9a935127285512465d7c2 Mon Sep 17 00:00:00 2001 From: Ron Dreslinski Date: Thu, 24 Feb 2005 11:34:58 -0500 Subject: [PATCH 2/3] Print an error message if a Checkpoint number was defined, but no checkpoint file was sourced --HG-- extra : convert_revision : 302c1d6720c0ee24fcfc266cd99f501af734a452 From d5d41d696c0b47d7f2290f054b638495b88af98a Mon Sep 17 00:00:00 2001 From: Ron Dreslinski Date: Thu, 24 Feb 2005 11:43:03 -0500 Subject: [PATCH 3/3] Fix it so that using a sampler works with the occ and ocp configurations. --HG-- extra : convert_revision : a990503a6c01a156230d8910ad86876d09b4f1b3