process.cc (6691:cd68b6ecd68d) process.cc (6701:4842482e1bd1)
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;

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

642
643 SyscallDesc *desc = getDesc(callnum);
644 if (desc == NULL)
645 fatal("Syscall %d out of range", callnum);
646
647 desc->doSyscall(callnum, this, tc);
648}
649
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;

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

642
643 SyscallDesc *desc = getDesc(callnum);
644 if (desc == NULL)
645 fatal("Syscall %d out of range", callnum);
646
647 desc->doSyscall(callnum, this, tc);
648}
649
650IntReg
651LiveProcess::getSyscallArg(ThreadContext *tc, int &i, int width)
652{
653 return getSyscallArg(tc, i);
654}
655
650LiveProcess *
651LiveProcess::create(LiveProcessParams * params)
652{
653 LiveProcess *process = NULL;
654
655 string executable =
656 params->executable == "" ? params->cmd[0] : params->executable;
657 ObjectFile *objFile = createObjectFile(executable);

--- 130 unchanged lines hidden ---
656LiveProcess *
657LiveProcess::create(LiveProcessParams * params)
658{
659 LiveProcess *process = NULL;
660
661 string executable =
662 params->executable == "" ? params->cmd[0] : params->executable;
663 ObjectFile *objFile = createObjectFile(executable);

--- 130 unchanged lines hidden ---