summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-08-02 14:32:20 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-08-02 14:32:20 -0400
commit970261f9ceeded02162760365ce08c8d1fd4b506 (patch)
tree41d705bbcc29218191d1722ad1e5ecb832b363f9 /src
parent456a4570c148759bc229d0295899d4b67b374786 (diff)
downloadgem5-970261f9ceeded02162760365ce08c8d1fd4b506.tar.xz
debugSymbolTable is a global variable and only needs to be created once, not once per system
--HG-- extra : convert_revision : 43cbfd1a58d7d728898cbfae0d7f7d9960eba178
Diffstat (limited to 'src')
-rw-r--r--src/sim/system.cc3
1 files changed, 2 insertions, 1 deletions
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;
/**