process.cc (4166:ecebe3ac19b4) process.cc (4358:df3dc985264a)
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 143 unchanged lines hidden (view full) ---

152
153int
154Process::registerThreadContext(ThreadContext *tc)
155{
156 // add to list
157 int myIndex = threadContexts.size();
158 threadContexts.push_back(tc);
159
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 143 unchanged lines hidden (view full) ---

152
153int
154Process::registerThreadContext(ThreadContext *tc)
155{
156 // add to list
157 int myIndex = threadContexts.size();
158 threadContexts.push_back(tc);
159
160 RemoteGDB *rgdb = new RemoteGDB(system, tc);
161 GDBListener *gdbl = new GDBListener(rgdb, 7000 + myIndex);
162 gdbl->listen();
160// RemoteGDB *rgdb = new RemoteGDB(system, tc);
161// GDBListener *gdbl = new GDBListener(rgdb, 7000 + myIndex);
162// gdbl->listen();
163 //gdbl->accept();
164
163 //gdbl->accept();
164
165 remoteGDB.push_back(rgdb);
165// remoteGDB.push_back(rgdb);
166
167 // return CPU number to caller
168 return myIndex;
169}
170
171void
172Process::startup()
173{

--- 425 unchanged lines hidden ---
166
167 // return CPU number to caller
168 return myIndex;
169}
170
171void
172Process::startup()
173{

--- 425 unchanged lines hidden ---