SCons: centralize the Dir() workaround for newer versions of scons.
[gem5.git] / src / arch / sparc / remote_gdb.hh
index b97961a34a2efa84b7ea797f23e6ab9b9f426537..47e29ac02e0a3c5f032f72cac4ce04ff61522f07 100644 (file)
  * Authors: Nathan Binkert
  */
 
-#ifndef __ARCH_ALPHA_REMOTE_GDB_HH__
-#define __ARCH_ALPHA_REMOTE_GDB_HH__
+#ifndef __ARCH_SPARC_REMOTE_GDB_HH__
+#define __ARCH_SPARC_REMOTE_GDB_HH__
 
 #include <map>
 
-#include "arch/types.hh"
+#include "arch/sparc/types.hh"
 #include "base/remote_gdb.hh"
 #include "cpu/pc_event.hh"
 #include "base/pollevent.hh"
@@ -55,7 +55,7 @@ namespace SparcISA
             /*RegState contains data in same format as tstate */
             Reg32Y = 64, Reg32Psr = 65, Reg32Tbr = 66, Reg32Pc = 67,
             Reg32Npc = 68, Reg32Fsr = 69, Reg32Csr = 70,
-            NumGDBRegs = RegY
+            NumGDBRegs
         };
 
       public:
@@ -74,4 +74,4 @@ namespace SparcISA
     };
 }
 
-#endif /* __ARCH_ALPHA_REMOTE_GDB_H__ */
+#endif /* __ARCH_SPARC_REMOTE_GDB_H__ */