From 8ca7feb726b2a5524307a7a77cd51ad4ecb9eec7 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 2 Oct 2007 18:26:27 -0700 Subject: [PATCH] Remote GDB: Turn on remote gdb in SE mode. --HG-- extra : convert_revision : e17eb629071edd0dbcb09dd6a6a2220d2c83d33f --- src/sim/process.cc | 8 ++++---- 1 file 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;