summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-03-05 14:51:21 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-03-05 14:51:21 +0000
commit2e6cf12963dcd8f3fd0d551aa7d9871ede6bc1fb (patch)
tree795d863004260dcd722e573fe842974e6089d152 /src/arch/x86
parentaa5f42b10df00579614fcac1c9085db0d7569161 (diff)
downloadgem5-2e6cf12963dcd8f3fd0d551aa7d9871ede6bc1fb.tar.xz
Filled in a stub header file for remote gdb
--HG-- extra : convert_revision : 6289181697142f672548a4d4cf6e010171cb98e1
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/remote_gdb.hh30
1 files changed, 28 insertions, 2 deletions
diff --git a/src/arch/x86/remote_gdb.hh b/src/arch/x86/remote_gdb.hh
index c4c7f9cd0..a5e26cc2d 100644
--- a/src/arch/x86/remote_gdb.hh
+++ b/src/arch/x86/remote_gdb.hh
@@ -58,10 +58,36 @@
#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__