diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2004-11-15 20:30:51 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2004-11-15 20:30:51 -0500 |
commit | b1816cb83716bf96557a2a36f25f6ca65f20dd8c (patch) | |
tree | abcb19cdf4a5acf7aca0dee31462681d8d2cd1cb /base/loader | |
parent | 26c666b4f3e8a96503d3742632b278fe781263d9 (diff) | |
download | gem5-b1816cb83716bf96557a2a36f25f6ca65f20dd8c.tar.xz |
Minor cleanup of symtab code/includes.
base/loader/symtab.cc:
base/loader/symtab.hh:
Get rid of old unused calls.
cpu/simple_cpu/simple_cpu.hh:
No need to include base/loader/symtab.hh
kern/linux/linux_system.cc:
kern/tru64/tru64_system.cc:
Include base/loader/symtab.hh (since it's no longer included in system.hh)
sim/system.hh:
Replace include of base/loader/symtab.hh with forward class decl.
--HG--
extra : convert_revision : 3a778c2f409ec94e3b00eaa9b3859943cb39918c
Diffstat (limited to 'base/loader')
-rw-r--r-- | base/loader/symtab.cc | 16 | ||||
-rw-r--r-- | base/loader/symtab.hh | 3 |
2 files changed, 0 insertions, 19 deletions
diff --git a/base/loader/symtab.cc b/base/loader/symtab.cc index c018ae4f8..2a29a8575 100644 --- a/base/loader/symtab.cc +++ b/base/loader/symtab.cc @@ -136,19 +136,3 @@ SymbolTable::findAddress(const string &symbol, Addr &address) const address = (*i).second; return true; } - -string -SymbolTable::find(Addr addr) const -{ - string s; - findSymbol(addr, s); - return s; -} - -Addr -SymbolTable::find(const string &symbol) const -{ - Addr a = 0; - findAddress(symbol, a); - return a; -} diff --git a/base/loader/symtab.hh b/base/loader/symtab.hh index df3783991..5ae29b057 100644 --- a/base/loader/symtab.hh +++ b/base/loader/symtab.hh @@ -72,9 +72,6 @@ class SymbolTable bool findSymbol(Addr address, std::string &symbol) const; bool findAddress(const std::string &symbol, Addr &address) const; - - std::string find(Addr addr) const; - Addr find(const std::string &symbol) const; }; /// Global unified debugging symbol table (for target). Conceptually |