From: Ali Saidi Date: Thu, 2 Aug 2007 18:32:20 +0000 (-0400) Subject: debugSymbolTable is a global variable and only needs to be created once, not once... X-Git-Tag: m5_2.0_beta4~204^2~7 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=970261f9ceeded02162760365ce08c8d1fd4b506;p=gem5.git debugSymbolTable is a global variable and only needs to be created once, not once per system --HG-- extra : convert_revision : 43cbfd1a58d7d728898cbfae0d7f7d9960eba178 --- diff --git a/src/sim/system.cc b/src/sim/system.cc index 3c4746e93..eb0655aa5 100644 --- a/src/sim/system.cc +++ b/src/sim/system.cc @@ -72,7 +72,8 @@ System::System(Params *p) #if FULL_SYSTEM kernelSymtab = new SymbolTable; - debugSymbolTable = new SymbolTable; + if (!debugSymbolTable) + debugSymbolTable = new SymbolTable; /**