Deleted Added
sdiff udiff text old ( 5282:2dba627b6646 ) new ( 5335:69d45f5f21a2 )
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;

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

56#if THE_ISA == ALPHA_ISA
57#include "arch/alpha/linux/process.hh"
58#include "arch/alpha/tru64/process.hh"
59#elif THE_ISA == SPARC_ISA
60#include "arch/sparc/linux/process.hh"
61#include "arch/sparc/solaris/process.hh"
62#elif THE_ISA == MIPS_ISA
63#include "arch/mips/linux/process.hh"
64#elif THE_ISA == X86_ISA
65#include "arch/x86/linux/process.hh"
66#else
67#error "THE_ISA not set"
68#endif
69
70
71using namespace std;

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

695 switch (objFile->getOpSys()) {
696 case ObjectFile::Linux:
697 process = new MipsLinuxProcess(params, objFile);
698 break;
699
700 default:
701 fatal("Unknown/unsupported operating system.");
702 }
703#else
704#error "THE_ISA not set"
705#endif
706
707
708 if (process == NULL)
709 fatal("Unknown error creating process object.");
710 return process;
711}
712
713LiveProcess *
714LiveProcessParams::create()
715{
716 return LiveProcess::create(this);
717}