From 706e84f2b8553baba020560f4a83550f05b80630 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Wed, 8 Aug 2012 13:40:32 -0500 Subject: [PATCH] System: set kernel to null, if unspecified. --- src/sim/system.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sim/system.cc b/src/sim/system.cc index 20fcbd948..8ff1de445 100644 --- a/src/sim/system.cc +++ b/src/sim/system.cc @@ -111,7 +111,9 @@ System::System(Params *p) if (FullSystem) { if (params()->kernel == "") { inform("No kernel set for full system simulation. " - "Assuming you know what you're doing if not SPARC ISA\n"); + "Assuming you know what you're doing\n"); + + kernel = NULL; } else { // Get the kernel code kernel = createObjectFile(params()->kernel); -- 2.30.2