summaryrefslogtreecommitdiff
path: root/sim/process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sim/process.cc')
-rw-r--r--sim/process.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/process.cc b/sim/process.cc
index 80f787062..260abcfe2 100644
--- a/sim/process.cc
+++ b/sim/process.cc
@@ -363,6 +363,7 @@ LiveProcess::startup()
Addr prog_entry = objFile->entryPoint();
execContexts[0]->setPC(prog_entry);
execContexts[0]->setNextPC(prog_entry + sizeof(MachInst));
+ execContexts[0]->setNextNPC(prog_entry + (2 * sizeof(MachInst)));
num_processes++;
}