X86: Define a noop ExtMachInst.
[gem5.git] / src / arch / mips / stacktrace.hh
index ff35aaeb06ef7c77ac200bc1831244e6a75b0e14..4c02cc86caf3d8b61443e2e6b12b3037c0f1021e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005 The Regents of The University of Michigan
+ * Copyright (c) 2004-2005 The Regents of The University of Michigan
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -25,7 +25,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * Authors: Korey Sewell
+ * Authors: Ali Saidi
  */
 
 #ifndef __ARCH_MIPS_STACKTRACE_HH__
@@ -35,7 +35,9 @@
 #include "cpu/static_inst.hh"
 
 class ThreadContext;
-class StackTrace;
+
+namespace MipsISA
+{
 
 class ProcessInfo
 {
@@ -59,7 +61,7 @@ class ProcessInfo
 class StackTrace
 {
   protected:
-    typedef TheISA::MachInst MachInst;
+    typedef MipsISA::MachInst MachInst;
   private:
     ThreadContext *tc;
     std::vector<Addr> stack;
@@ -118,4 +120,6 @@ StackTrace::trace(ThreadContext *tc, StaticInstPtr inst)
     return true;
 }
 
+}
+
 #endif // __ARCH_MIPS_STACKTRACE_HH__