remote_gdb.hh (11274:d9a0136ab8cc) remote_gdb.hh (12031:46116545e745)
1/*
2 * Copyright (c) 2015 LabWare
3 * Copyright (c) 2002-2005 The Regents of The University of Michigan
4 * Copyright (c) 2007-2008 The Florida State University
5 * Copyright (c) 2009 The University of Edinburgh
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

64 uint32_t ctr;
65 uint32_t xer;
66 } r;
67 public:
68 char *data() const { return (char *)&r; }
69 size_t size() const { return sizeof(r); }
70 void getRegs(ThreadContext*);
71 void setRegs(ThreadContext*) const;
1/*
2 * Copyright (c) 2015 LabWare
3 * Copyright (c) 2002-2005 The Regents of The University of Michigan
4 * Copyright (c) 2007-2008 The Florida State University
5 * Copyright (c) 2009 The University of Edinburgh
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

64 uint32_t ctr;
65 uint32_t xer;
66 } r;
67 public:
68 char *data() const { return (char *)&r; }
69 size_t size() const { return sizeof(r); }
70 void getRegs(ThreadContext*);
71 void setRegs(ThreadContext*) const;
72 const std::string name() const { return gdb->name() + ".PowerGdbRegCache"; }
72 const std::string
73 name() const
74 {
75 return gdb->name() + ".PowerGdbRegCache";
76 }
73 };
74
77 };
78
79 PowerGdbRegCache regCache;
75
76 public:
77 RemoteGDB(System *_system, ThreadContext *tc);
78 BaseGdbRegCache *gdbRegs();
79};
80
81} // namespace PowerISA
82
83#endif /* __ARCH_POWER_REMOTE_GDB_H__ */
80
81 public:
82 RemoteGDB(System *_system, ThreadContext *tc);
83 BaseGdbRegCache *gdbRegs();
84};
85
86} // namespace PowerISA
87
88#endif /* __ARCH_POWER_REMOTE_GDB_H__ */