summaryrefslogtreecommitdiff
path: root/base/remote_gdb.hh
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-02-03 11:24:03 -0500
committerNathan Binkert <binkertn@umich.edu>2004-02-03 11:24:03 -0500
commit85bc028185830fb534c10c244d5f39fcfe8c4da6 (patch)
tree59a830bc1aa9e0623cb997f20437925c300aff06 /base/remote_gdb.hh
parent5164de4a03422090b253404a11b069d7d588c55e (diff)
parent368e6e3e570430b207b0194290242a2f98e565ca (diff)
downloadgem5-85bc028185830fb534c10c244d5f39fcfe8c4da6.tar.xz
merge
--HG-- extra : convert_revision : 47425264e672f727cbb13aa7b9bb2a67790b25e8
Diffstat (limited to 'base/remote_gdb.hh')
-rw-r--r--base/remote_gdb.hh9
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__ */