projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge ktlim@zizzer.eecs.umich.edu:/bk/m5
[gem5.git]
/
base
/
remote_gdb.hh
diff --git
a/base/remote_gdb.hh
b/base/remote_gdb.hh
index 62fd5285691969e5e0c34955d819b82b566bcbab..2ed368719037999ac15b644603dd405a8a6e2c3d 100644
(file)
--- a/
base/remote_gdb.hh
+++ b/
base/remote_gdb.hh
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 200
3
The Regents of The University of Michigan
+ * Copyright (c) 200
2-2004
The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@
-115,10
+115,13
@@
class RemoteGDB
private:
RemoteGDB *gdb;
private:
RemoteGDB *gdb;
+ public:
+ int refcount;
+
public:
HardBreakpoint(RemoteGDB *_gdb, Addr addr);
public:
HardBreakpoint(RemoteGDB *_gdb, Addr addr);
+ std::string name() { return gdb->name() + ".hwbkpt"; }
- int refcount;
virtual void process(ExecContext *xc);
};
friend class HardBreakpoint;
virtual void process(ExecContext *xc);
};
friend class HardBreakpoint;
@@
-145,6
+148,9
@@
class RemoteGDB
void clearTempBreakpoint(TempBreakpoint &bkpt);
void setTempBreakpoint(TempBreakpoint &bkpt, Addr addr);
void clearTempBreakpoint(TempBreakpoint &bkpt);
void setTempBreakpoint(TempBreakpoint &bkpt, Addr addr);
+
+ public:
+ std::string name();
};
template <class T>
};
template <class T>
@@
-188,6
+194,7
@@
class GDBListener
void accept();
void listen();
void accept();
void listen();
+ std::string name();
};
#endif /* __REMOTE_GDB_H__ */
};
#endif /* __REMOTE_GDB_H__ */