remote_gdb.hh (12031:46116545e745) remote_gdb.hh (12173:5887d5a1b6a2)
1/*
2 * Copyright (c) 2015 LabWare
3 * Copyright (c) 2002-2005 The Regents of The University of Michigan
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

--- 36 unchanged lines hidden (view full) ---

45class ThreadContext;
46
47namespace AlphaISA {
48
49class RemoteGDB : public BaseRemoteGDB
50{
51 protected:
52 // Machine memory
1/*
2 * Copyright (c) 2015 LabWare
3 * Copyright (c) 2002-2005 The Regents of The University of Michigan
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

--- 36 unchanged lines hidden (view full) ---

45class ThreadContext;
46
47namespace AlphaISA {
48
49class RemoteGDB : public BaseRemoteGDB
50{
51 protected:
52 // Machine memory
53 bool acc(Addr addr, size_t len);
54 bool write(Addr addr, size_t size, const char *data);
53 bool acc(Addr addr, size_t len) override;
54 bool write(Addr addr, size_t size, const char *data) override;
55
56 void insertHardBreak(Addr addr, size_t len) override;
57
58 class AlphaGdbRegCache : public BaseGdbRegCache
59 {
60 using BaseGdbRegCache::BaseGdbRegCache;
61 private:
62 struct {

--- 7 unchanged lines hidden (view full) ---

70 size_t size() const { return sizeof(r); }
71 void getRegs(ThreadContext*);
72 void setRegs(ThreadContext*) const;
73 const std::string name() const { return gdb->name() + ".AlphaGdbRegCache"; }
74 };
75
76 public:
77 RemoteGDB(System *system, ThreadContext *context);
55
56 void insertHardBreak(Addr addr, size_t len) override;
57
58 class AlphaGdbRegCache : public BaseGdbRegCache
59 {
60 using BaseGdbRegCache::BaseGdbRegCache;
61 private:
62 struct {

--- 7 unchanged lines hidden (view full) ---

70 size_t size() const { return sizeof(r); }
71 void getRegs(ThreadContext*);
72 void setRegs(ThreadContext*) const;
73 const std::string name() const { return gdb->name() + ".AlphaGdbRegCache"; }
74 };
75
76 public:
77 RemoteGDB(System *system, ThreadContext *context);
78 BaseGdbRegCache *gdbRegs();
78 BaseGdbRegCache *gdbRegs() override;
79};
80
81} // namespace AlphaISA
82
83#endif // __ARCH_ALPHA_REMOTE_GDB_HH__
79};
80
81} // namespace AlphaISA
82
83#endif // __ARCH_ALPHA_REMOTE_GDB_HH__