remote_gdb.hh (8931:7a1dfb191e3f) | remote_gdb.hh (10601:6efb37480d87) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 34 unchanged lines hidden (view full) --- 43class System; 44class ThreadContext; 45 46namespace AlphaISA { 47 48class RemoteGDB : public BaseRemoteGDB 49{ 50 protected: | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 34 unchanged lines hidden (view full) --- 43class System; 44class ThreadContext; 45 46namespace AlphaISA { 47 48class RemoteGDB : public BaseRemoteGDB 49{ 50 protected: |
51 Addr notTakenBkpt; 52 Addr takenBkpt; 53 54 protected: | |
55 void getregs(); 56 void setregs(); 57 | 51 void getregs(); 52 void setregs(); 53 |
58 void clearSingleStep(); 59 void setSingleStep(); 60 | |
61 // Machine memory 62 bool acc(Addr addr, size_t len); 63 bool write(Addr addr, size_t size, const char *data); 64 | 54 // Machine memory 55 bool acc(Addr addr, size_t len); 56 bool write(Addr addr, size_t size, const char *data); 57 |
65 virtual bool insertHardBreak(Addr addr, size_t len); | 58 bool insertHardBreak(Addr addr, size_t len); |
66 67 public: 68 RemoteGDB(System *system, ThreadContext *context); 69}; 70 71} // namespace AlphaISA 72 73#endif // __ARCH_ALPHA_REMOTE_GDB_HH__ | 59 60 public: 61 RemoteGDB(System *system, ThreadContext *context); 62}; 63 64} // namespace AlphaISA 65 66#endif // __ARCH_ALPHA_REMOTE_GDB_HH__ |