projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
456a457
)
debugSymbolTable is a global variable and only needs to be created once, not once...
author
Ali Saidi
<saidi@eecs.umich.edu>
Thu, 2 Aug 2007 18:32:20 +0000
(14:32 -0400)
committer
Ali Saidi
<saidi@eecs.umich.edu>
Thu, 2 Aug 2007 18:32:20 +0000
(14:32 -0400)
--HG--
extra : convert_revision :
43cbfd1a58d7d728898cbfae0d7f7d9960eba178
src/sim/system.cc
patch
|
blob
|
history
diff --git
a/src/sim/system.cc
b/src/sim/system.cc
index 3c4746e935b586659f86e8765d88e5eabf7bc234..eb0655aa55a3b612ac99c466696badb27e99954d 100644
(file)
--- 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;
/**