From: Nathan Binkert Date: Sun, 20 Nov 2005 23:39:31 +0000 (-0500) Subject: get rid of allSymtab X-Git-Tag: m5_2.0_beta1~294 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e393f38ec9f3995a8fbd61ffdb0fd6da40b2ee1;p=gem5.git get rid of allSymtab if we want something like allSymtab, we should create a symbol table proxy class --HG-- extra : convert_revision : 20ca551a693b0d6495c018cac8afd63af33f16da --- 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;