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
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
65 virtual 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__
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
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
65 virtual 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__