summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-10-02 18:26:27 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-10-02 18:26:27 -0700
commit8ca7feb726b2a5524307a7a77cd51ad4ecb9eec7 (patch)
tree227aca993fb881bd1c004d2dfb73351d12d01a72 /src
parent988cdb49f28c904b4b50c64759305bb371b81776 (diff)
downloadgem5-8ca7feb726b2a5524307a7a77cd51ad4ecb9eec7.tar.xz
Remote GDB: Turn on remote gdb in SE mode.
--HG-- extra : convert_revision : e17eb629071edd0dbcb09dd6a6a2220d2c83d33f
Diffstat (limited to 'src')
-rw-r--r--src/sim/process.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sim/process.cc b/src/sim/process.cc
index 8f36fba1b..6ec7c8609 100644
--- a/src/sim/process.cc
+++ b/src/sim/process.cc
@@ -159,12 +159,12 @@ Process::registerThreadContext(ThreadContext *tc)
int myIndex = threadContexts.size();
threadContexts.push_back(tc);
-// RemoteGDB *rgdb = new RemoteGDB(system, tc);
-// GDBListener *gdbl = new GDBListener(rgdb, 7000 + myIndex);
-// gdbl->listen();
+ RemoteGDB *rgdb = new RemoteGDB(system, tc);
+ GDBListener *gdbl = new GDBListener(rgdb, 7000 + myIndex);
+ gdbl->listen();
//gdbl->accept();
-// remoteGDB.push_back(rgdb);
+ remoteGDB.push_back(rgdb);
// return CPU number to caller
return myIndex;