diff options
author | Nathan Binkert <binkertn@umich.edu> | 2004-02-03 11:24:03 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2004-02-03 11:24:03 -0500 |
commit | 85bc028185830fb534c10c244d5f39fcfe8c4da6 (patch) | |
tree | 59a830bc1aa9e0623cb997f20437925c300aff06 /base/remote_gdb.hh | |
parent | 5164de4a03422090b253404a11b069d7d588c55e (diff) | |
parent | 368e6e3e570430b207b0194290242a2f98e565ca (diff) | |
download | gem5-85bc028185830fb534c10c244d5f39fcfe8c4da6.tar.xz |
merge
--HG--
extra : convert_revision : 47425264e672f727cbb13aa7b9bb2a67790b25e8
Diffstat (limited to 'base/remote_gdb.hh')
-rw-r--r-- | base/remote_gdb.hh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/base/remote_gdb.hh b/base/remote_gdb.hh index 62fd52856..fcc1ee2a9 100644 --- a/base/remote_gdb.hh +++ b/base/remote_gdb.hh @@ -116,9 +116,12 @@ class RemoteGDB RemoteGDB *gdb; public: + int refcount; + + public: HardBreakpoint(RemoteGDB *_gdb, Addr addr); + std::string name() { return gdb->name() + ".hwbkpt"; } - int refcount; virtual void process(ExecContext *xc); }; friend class HardBreakpoint; @@ -145,6 +148,9 @@ class RemoteGDB void clearTempBreakpoint(TempBreakpoint &bkpt); void setTempBreakpoint(TempBreakpoint &bkpt, Addr addr); + + public: + std::string name(); }; template <class T> @@ -188,6 +194,7 @@ class GDBListener void accept(); void listen(); + std::string name(); }; #endif /* __REMOTE_GDB_H__ */ |