summaryrefslogtreecommitdiff
path: root/arch/mips/process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/process.cc')
-rw-r--r--arch/mips/process.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/process.cc b/arch/mips/process.cc
index 6de44fe9f..7f374f580 100644
--- a/arch/mips/process.cc
+++ b/arch/mips/process.cc
@@ -28,11 +28,13 @@
#include "arch/mips/process.hh"
+using namespace std;
+
namespace MipsISA
{
LiveProcess *
-createProcess(const string &nm, ObjectFile * objFile,
+createProcess(const string &nm, ObjectFile * objFile, System * system,
int stdin_fd, int stdout_fd, int stderr_fd,
vector<string> &argv, vector<string> &envp)
{
@@ -41,7 +43,7 @@ createProcess(const string &nm, ObjectFile * objFile,
fatal("Object file does not match architecture.");
switch (objFile->getOpSys()) {
case ObjectFile::Linux:
- process = new MipsLinuxProcess(nm, objFile,
+ process = new MipsLinuxProcess(nm, objFile,system,
stdin_fd, stdout_fd, stderr_fd,
argv, envp);
break;