Deleted Added
sdiff udiff text old ( 5335:69d45f5f21a2 ) new ( 5512:755fcaf7a4cf )
full compact
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;

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

41#include "base/statistics.hh"
42#include "config/full_system.hh"
43#include "cpu/thread_context.hh"
44#include "mem/page_table.hh"
45#include "mem/physical.hh"
46#include "mem/translating_port.hh"
47#include "params/Process.hh"
48#include "params/LiveProcess.hh"
49#include "sim/process.hh"
50#include "sim/process_impl.hh"
51#include "sim/stats.hh"
52#include "sim/syscall_emul.hh"
53#include "sim/system.hh"
54
55#include "arch/isa_specific.hh"
56#if THE_ISA == ALPHA_ISA

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

196
197int
198Process::registerThreadContext(ThreadContext *tc)
199{
200 // add to list
201 int myIndex = threadContexts.size();
202 threadContexts.push_back(tc);
203
204 RemoteGDB *rgdb = new RemoteGDB(system, tc);
205 GDBListener *gdbl = new GDBListener(rgdb, 7000 + myIndex);
206 gdbl->listen();
207 //gdbl->accept();
208
209 remoteGDB.push_back(rgdb);
210
211 // return CPU number to caller
212 return myIndex;
213}
214
215void
216Process::startup()
217{

--- 513 unchanged lines hidden ---