diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-02-21 03:38:21 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-02-21 03:38:21 -0500 |
commit | 3f7979c99d8dc4f434e3daa2e179616f1669e16e (patch) | |
tree | 85d426effe10c1b34a3f434417213231a4aac528 /base | |
parent | 74d7cd1ceadd8ba803bbb83750e11a3c488d3fe1 (diff) | |
download | gem5-3f7979c99d8dc4f434e3daa2e179616f1669e16e.tar.xz |
Made Addr a global type
--HG--
extra : convert_revision : 869bd9fa5d8591115ac9b4a7401eb2490986b835
Diffstat (limited to 'base')
-rw-r--r-- | base/loader/object_file.hh | 1 | ||||
-rw-r--r-- | base/loader/symtab.hh | 3 | ||||
-rw-r--r-- | base/remote_gdb.hh | 1 |
3 files changed, 1 insertions, 4 deletions
diff --git a/base/loader/object_file.hh b/base/loader/object_file.hh index e90f93847..3c8659e18 100644 --- a/base/loader/object_file.hh +++ b/base/loader/object_file.hh @@ -37,7 +37,6 @@ class SymbolTable; class ObjectFile { public: - typedef TheISA::Addr Addr; enum Arch { UnknownArch, diff --git a/base/loader/symtab.hh b/base/loader/symtab.hh index 38b4cdee2..ebcda1345 100644 --- a/base/loader/symtab.hh +++ b/base/loader/symtab.hh @@ -37,9 +37,8 @@ class Checkpoint; class SymbolTable { - typedef TheISA::Addr Addr; public: - typedef std::map<TheISA::Addr, std::string> ATable; + typedef std::map<Addr, std::string> ATable; typedef std::map<std::string, Addr> STable; private: diff --git a/base/remote_gdb.hh b/base/remote_gdb.hh index 126d5f6f8..b7abf5116 100644 --- a/base/remote_gdb.hh +++ b/base/remote_gdb.hh @@ -44,7 +44,6 @@ class GDBListener; class RemoteGDB { protected: - typedef TheISA::Addr Addr; typedef TheISA::MachInst MachInst; private: friend void debugger(); |