From 2e6cf12963dcd8f3fd0d551aa7d9871ede6bc1fb Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 5 Mar 2007 14:51:21 +0000 Subject: [PATCH] Filled in a stub header file for remote gdb --HG-- extra : convert_revision : 6289181697142f672548a4d4cf6e010171cb98e1 --- src/arch/x86/remote_gdb.hh | 30 ++++++++++++++++++++++++++++-- 1 file 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__ -- 2.30.2