remote_gdb.hh (10595:25ecfc14f73f) remote_gdb.hh (10601:6efb37480d87)
1/*
2 * Copyright 2014 Google, Inc.
3 * Copyright (c) 2007 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

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

49 const int GdbFloatSpecialRegs = 2;
50
51 const int GdbIntRegs = GdbIntArchRegs + GdbIntSpecialRegs;
52 const int GdbFloatRegs = GdbFloatArchRegs + GdbFloatSpecialRegs;
53 const int GdbNumRegs = GdbIntRegs + GdbFloatRegs;
54
55 class RemoteGDB : public BaseRemoteGDB
56 {
1/*
2 * Copyright 2014 Google, Inc.
3 * Copyright (c) 2007 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

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

49 const int GdbFloatSpecialRegs = 2;
50
51 const int GdbIntRegs = GdbIntArchRegs + GdbIntSpecialRegs;
52 const int GdbFloatRegs = GdbFloatArchRegs + GdbFloatSpecialRegs;
53 const int GdbNumRegs = GdbIntRegs + GdbFloatRegs;
54
55 class RemoteGDB : public BaseRemoteGDB
56 {
57 protected:
58 Addr notTakenBkpt;
59 Addr takenBkpt;
60
61 public:
62 RemoteGDB(System *_system, ThreadContext *tc);
63
64 protected:
65 bool acc(Addr addr, size_t len);
66
67 void getregs();
68 void setregs();
57 public:
58 RemoteGDB(System *_system, ThreadContext *tc);
59
60 protected:
61 bool acc(Addr addr, size_t len);
62
63 void getregs();
64 void setregs();
69
70 void clearSingleStep();
71 void setSingleStep();
72 };
73}
74
75#endif /* __ARCH_MIPS_REMOTE_GDB_H__ */
65 };
66}
67
68#endif /* __ARCH_MIPS_REMOTE_GDB_H__ */