Remote GDB: Turn on remote gdb in SE mode.

--HG--
extra : convert_revision : e17eb629071edd0dbcb09dd6a6a2220d2c83d33f
This commit is contained in:
Gabe Black 2007-10-02 18:26:27 -07:00
parent 988cdb49f2
commit 8ca7feb726

View file

@ -159,12 +159,12 @@ Process::registerThreadContext(ThreadContext *tc)
int myIndex = threadContexts.size(); int myIndex = threadContexts.size();
threadContexts.push_back(tc); threadContexts.push_back(tc);
// RemoteGDB *rgdb = new RemoteGDB(system, tc); RemoteGDB *rgdb = new RemoteGDB(system, tc);
// GDBListener *gdbl = new GDBListener(rgdb, 7000 + myIndex); GDBListener *gdbl = new GDBListener(rgdb, 7000 + myIndex);
// gdbl->listen(); gdbl->listen();
//gdbl->accept(); //gdbl->accept();
// remoteGDB.push_back(rgdb); remoteGDB.push_back(rgdb);
// return CPU number to caller // return CPU number to caller
return myIndex; return myIndex;