Remote GDB: Turn on remote gdb in SE mode.
--HG-- extra : convert_revision : e17eb629071edd0dbcb09dd6a6a2220d2c83d33f
This commit is contained in:
parent
988cdb49f2
commit
8ca7feb726
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue