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 * 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 --- 80 unchanged lines hidden (view full) --- 89 public: 90 char *data() const { return (char *)&r; } 91 size_t size() const { return sizeof(r); } 92 void getRegs(ThreadContext*); 93 void setRegs(ThreadContext*) const; 94 const std::string name() const { return gdb->name() + ".SPARC64GdbRegCache"; } 95 }; 96 | 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 --- 80 unchanged lines hidden (view full) --- 89 public: 90 char *data() const { return (char *)&r; } 91 size_t size() const { return sizeof(r); } 92 void getRegs(ThreadContext*); 93 void setRegs(ThreadContext*) const; 94 const std::string name() const { return gdb->name() + ".SPARC64GdbRegCache"; } 95 }; 96 |
97 SPARCGdbRegCache regCache32; 98 SPARC64GdbRegCache regCache64; 99 |
|
97 public: 98 RemoteGDB(System *_system, ThreadContext *tc); 99 BaseGdbRegCache *gdbRegs(); 100}; 101} // namespace SparcISA 102 103#endif /* __ARCH_SPARC_REMOTE_GDB_H__ */ | 100 public: 101 RemoteGDB(System *_system, ThreadContext *tc); 102 BaseGdbRegCache *gdbRegs(); 103}; 104} // namespace SparcISA 105 106#endif /* __ARCH_SPARC_REMOTE_GDB_H__ */ |