Filled in a stub header file for remote gdb
authorGabe Black <gblack@eecs.umich.edu>
Mon, 5 Mar 2007 14:51:21 +0000 (14:51 +0000)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 5 Mar 2007 14:51:21 +0000 (14:51 +0000)
--HG--
extra : convert_revision : 6289181697142f672548a4d4cf6e010171cb98e1

src/arch/x86/remote_gdb.hh

index c4c7f9cd07968c944ec8cecea61f7719054fb5dd..a5e26cc2dfde4daebeedb1d3a6d1031a51660ca6 100644 (file)
 #ifndef __ARCH_X86_REMOTEGDB_HH__
 #define __ARCH_X86_REMOTEGDB_HH__
 
-#error X86 is not yet supported!
+#include "arch/x86/types.hh"
+#include "base/remote_gdb.hh"
+
+class System;
+class ThreadContext;
 
 namespace X86ISA
 {
-};
+    class RemoteGDB : public BaseRemoteGDB
+    {
+      protected:
+        enum RegisterContants
+        {
+            //XXX fill this in
+        };
+
+      public:
+        RemoteGDB(System *system, ThreadContext *context);
+
+        bool acc(Addr addr, size_t len);
+
+      protected:
+        void getregs();
+        void setregs();
+
+        void clearSingleStep();
+        void setSingleStep();
+
+        Addr nextBkpt;
+    };
+}
 
 #endif // __ARCH_X86_REMOTEGDB_HH__