summaryrefslogtreecommitdiff
path: root/src/sim/process.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-01-22 22:22:09 -0800
committerGabe Black <gblack@eecs.umich.edu>2007-01-22 22:22:09 -0800
commit45c3f1747c78aff3495edfe2cbe35fbb7a67f2a4 (patch)
tree78194b3f3a4e4910139271a6645246e7f12a2dab /src/sim/process.hh
parent8840ebcb00f3988c781063e572b6df5742968f95 (diff)
downloadgem5-45c3f1747c78aff3495edfe2cbe35fbb7a67f2a4.tar.xz
Added remote gdb objects to each process
--HG-- extra : convert_revision : 1b5c1470ffc52b2f7719e469153702dec694f9a3
Diffstat (limited to 'src/sim/process.hh')
-rw-r--r--src/sim/process.hh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sim/process.hh b/src/sim/process.hh
index 616c02c00..bf65c6e06 100644
--- a/src/sim/process.hh
+++ b/src/sim/process.hh
@@ -51,6 +51,11 @@ class SyscallDesc;
class PageTable;
class TranslatingPort;
class System;
+class GDBListener;
+namespace TheISA
+{
+ class RemoteGDB;
+}
void
copyStringArray(std::vector<std::string> &strings, Addr array_ptr,
@@ -72,6 +77,11 @@ class Process : public SimObject
// thread contexts associated with this process
std::vector<ThreadContext *> threadContexts;
+ // remote gdb objects
+ std::vector<TheISA::RemoteGDB *> remoteGDB;
+ std::vector<GDBListener *> gdbListen;
+ bool breakpoint();
+
// number of CPUs (esxec contexts, really) assigned to this process.
unsigned int numCpus() { return threadContexts.size(); }