remote_gdb.hh (11274:d9a0136ab8cc) remote_gdb.hh (12031:46116545e745)
1/*
2 * Copyright 2015 LabWare
3 * Copyright 2014 Google, Inc.
4 * Copyright (c) 2007 The Regents of The University of Michigan
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

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

65 uint32_t fsr;
66 uint32_t fir;
67 } r;
68 public:
69 char *data() const { return (char *)&r; }
70 size_t size() const { return sizeof(r); }
71 void getRegs(ThreadContext*);
72 void setRegs(ThreadContext*) const;
1/*
2 * Copyright 2015 LabWare
3 * Copyright 2014 Google, Inc.
4 * Copyright (c) 2007 The Regents of The University of Michigan
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

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

65 uint32_t fsr;
66 uint32_t fir;
67 } r;
68 public:
69 char *data() const { return (char *)&r; }
70 size_t size() const { return sizeof(r); }
71 void getRegs(ThreadContext*);
72 void setRegs(ThreadContext*) const;
73 const std::string name() const { return gdb->name() + ".MipsGdbRegCache"; }
73 const std::string
74 name() const
75 {
76 return gdb->name() + ".MipsGdbRegCache";
77 }
74 };
75
78 };
79
80 MipsGdbRegCache regCache;
76
77 public:
78 RemoteGDB(System *_system, ThreadContext *tc);
79 BaseGdbRegCache *gdbRegs();
80};
81
82} // namespace MipsISA
83
84#endif /* __ARCH_MIPS_REMOTE_GDB_H__ */
81
82 public:
83 RemoteGDB(System *_system, ThreadContext *tc);
84 BaseGdbRegCache *gdbRegs();
85};
86
87} // namespace MipsISA
88
89#endif /* __ARCH_MIPS_REMOTE_GDB_H__ */