GDB64_NUMREGS = 98
};
+const int GDB_REG_BYTES M5_VAR_USED =
+ std::max(GDB64_NUMREGS * sizeof(uint64_t),
+ GDB32_NUMREGS * sizeof(uint32_t));
+
class RemoteGDB : public BaseRemoteGDB
{
protected:
void setregs();
public:
- const int GDB_REG_BYTES = std::max(GDB64_NUMREGS * sizeof(uint64_t),
- GDB32_NUMREGS * sizeof(uint32_t));
-
RemoteGDB(System *_system, ThreadContext *tc);
};
} // namespace ArmISA
GDB64_NUMREGS = (GDB64_GS_32 + 1) / 2 + 1
};
- const int GDB_REG_BYTES =
- std::max(RemoteGDB::GDB32_NUMREGS * sizeof(uint32_t),
- RemoteGDB::GDB64_NUMREGS * sizeof(uint64_t));
-
RemoteGDB(System *system, ThreadContext *context);
bool acc(Addr addr, size_t len);
bool checkBpLen(size_t len) { return len == 1; }
};
+const int GDB_REG_BYTES M5_VAR_USED =
+ std::max(RemoteGDB::GDB32_NUMREGS * sizeof(uint32_t),
+ RemoteGDB::GDB64_NUMREGS * sizeof(uint64_t));
+
}
#endif // __ARCH_X86_REMOTEGDB_HH__