diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-11-20 18:39:31 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-11-20 18:39:31 -0500 |
commit | 4e393f38ec9f3995a8fbd61ffdb0fd6da40b2ee1 (patch) | |
tree | b3210bd7ae206ac040b2d489630403018f416ad6 /sim | |
parent | 64fc410ecba1a1468d85a4d8dc82c0fef667752f (diff) | |
download | gem5-4e393f38ec9f3995a8fbd61ffdb0fd6da40b2ee1.tar.xz |
get rid of allSymtab
if we want something like allSymtab, we should create a symbol
table proxy class
--HG--
extra : convert_revision : 20ca551a693b0d6495c018cac8afd63af33f16da
Diffstat (limited to 'sim')
-rw-r--r-- | sim/system.cc | 16 | ||||
-rw-r--r-- | sim/system.hh | 3 |
2 files changed, 0 insertions, 19 deletions
diff --git a/sim/system.cc b/sim/system.cc index f14a97603..e67cae333 100644 --- a/sim/system.cc +++ b/sim/system.cc @@ -54,7 +54,6 @@ System::System(Params *p) kernelSymtab = new SymbolTable; consoleSymtab = new SymbolTable; palSymtab = new SymbolTable; - allSymtab = new SymbolTable; debugSymbolTable = new SymbolTable; /** @@ -102,21 +101,6 @@ System::System(Params *p) if (!pal->loadLocalSymbols(palSymtab)) panic("could not load pal symbols\n"); - if (!kernel->loadGlobalSymbols(allSymtab)) - panic("could not load kernel symbols\n"); - - if (!kernel->loadLocalSymbols(allSymtab)) - panic("could not load kernel local symbols\n"); - - if (!console->loadGlobalSymbols(allSymtab)) - panic("could not load console symbols\n"); - - if (!pal->loadGlobalSymbols(allSymtab)) - panic("could not load pal symbols\n"); - - if (!pal->loadLocalSymbols(allSymtab)) - panic("could not load pal symbols\n"); - if (!kernel->loadGlobalSymbols(debugSymbolTable)) panic("could not load kernel symbols\n"); diff --git a/sim/system.hh b/sim/system.hh index ed78eb3d4..8cfe790de 100644 --- a/sim/system.hh +++ b/sim/system.hh @@ -77,9 +77,6 @@ class System : public SimObject /** pal symbol table */ SymbolTable *palSymtab; - /** all symbols table */ - SymbolTable *allSymtab; - /** Object pointer for the kernel code */ ObjectFile *kernel; |