1a2
> * Copyright (c) 2015 LabWare
28a30
> * Boris Shingarov
36d37
< #include "arch/alpha/kgdb.h"
51,53d51
< void getregs();
< void setregs();
<
59a58,75
> class AlphaGdbRegCache : public BaseGdbRegCache
> {
> using BaseGdbRegCache::BaseGdbRegCache;
> private:
> struct {
> uint64_t gpr[32];
> uint64_t fpr[32];
> uint64_t pc;
> uint64_t vfp;
> } r;
> public:
> char *data() const { return (char *)&r; }
> size_t size() const { return sizeof(r); }
> void getRegs(ThreadContext*);
> void setRegs(ThreadContext*) const;
> const std::string name() const { return gdb->name() + ".AlphaGdbRegCache"; }
> };
>
61a78
> BaseGdbRegCache *gdbRegs();