remote_gdb.hh (3550:515e876568b4) | remote_gdb.hh (5569:baeee670d4ce) |
---|---|
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; --- 30 unchanged lines hidden (view full) --- 39#include "cpu/pc_event.hh" 40#include "base/pollevent.hh" 41#include "base/socket.hh" 42 43class System; 44class ThreadContext; 45class PhysicalMemory; 46 | 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; --- 30 unchanged lines hidden (view full) --- 39#include "cpu/pc_event.hh" 40#include "base/pollevent.hh" 41#include "base/socket.hh" 42 43class System; 44class ThreadContext; 45class PhysicalMemory; 46 |
47namespace AlphaISA | 47namespace AlphaISA { 48 49class RemoteGDB : public BaseRemoteGDB |
48{ | 50{ |
49 class RemoteGDB : public BaseRemoteGDB 50 { 51 protected: 52 // Machine memory 53 bool write(Addr addr, size_t size, const char *data); | 51 protected: 52 Addr notTakenBkpt; 53 Addr takenBkpt; |
54 | 54 |
55 public: 56 RemoteGDB(System *system, ThreadContext *context); | 55 protected: 56 void getregs(); 57 void setregs(); |
57 | 58 |
58 bool acc(Addr addr, size_t len); | 59 void clearSingleStep(); 60 void setSingleStep(); |
59 | 61 |
60 protected: 61 void getregs(); 62 void setregs(); | 62 // Machine memory 63 bool acc(Addr addr, size_t len); 64 bool write(Addr addr, size_t size, const char *data); |
63 | 65 |
64 void clearSingleStep(); 65 void setSingleStep(); | 66 public: 67 RemoteGDB(System *system, ThreadContext *context); 68}; |
66 | 69 |
67 protected: | 70} // namespace AlphaISA |
68 | 71 |
69 Addr notTakenBkpt; 70 Addr takenBkpt; 71 }; 72} 73 74#endif /* __ARCH_ALPHA_REMOTE_GDB_H__ */ | 72#endif // __ARCH_ALPHA_REMOTE_GDB_HH__ |