35,36c35,36
< #ifndef __ARCH_ARM_REMOTE_GDB_HH__
< #define __ARCH_ARM_REMOTE_GDB_HH__
---
> #ifndef __ARCH_POWER_REMOTE_GDB_HH__
> #define __ARCH_POWER_REMOTE_GDB_HH__
37a38,39
> #include "arch/power/registers.hh"
> #include "arch/power/remote_gdb.hh"
42a45,62
> const int GDB_REG_BYTES =
> NumIntArchRegs * 4 +
> NumFloatArchRegs * 8 +
> 4 + /* PC */
> 4 + /* MSR */
> 4 + /* CR */
> 4 + /* LR */
> 4 + /* CTR */
> 4; /* XER */
> const int GdbFirstGPRIndex = 0;
> const int GdbFirstFPRIndex = 16;
> const int GdbPCIndex = 96;
> const int GdbMSRIndex = 97;
> const int GdbCRIndex = 98;
> const int GdbLRIndex = 99;
> const int GdbCTRIndex = 100;
> const int GdbXERIndex = 101;
>
46,67c66,70
< RemoteGDB(System *system, ThreadContext *context)
< : BaseRemoteGDB(system, context, 1)
< {
< }
<
< bool
< acc(Addr, size_t)
< {
< panic("acc not implemented for POWER!");
< }
<
< void
< getregs()
< {
< panic("getregs not implemented for POWER!");
< }
<
< void
< setregs()
< {
< panic("setregs not implemented for POWER!");
< }
---
> RemoteGDB(System *_system, ThreadContext *tc);
> protected:
> bool acc(Addr addr, size_t len);
> void getregs();
> void setregs();