Added remote gdb objects to each process

--HG--
extra : convert_revision : 1b5c1470ffc52b2f7719e469153702dec694f9a3
This commit is contained in:
Gabe Black
2007-01-22 22:22:09 -08:00
parent 8840ebcb00
commit 45c3f1747c
2 changed files with 18 additions and 0 deletions

View File

@@ -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(); }