diff options
Diffstat (limited to 'src/arch/alpha/utility.cc')
-rw-r--r-- | src/arch/alpha/utility.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/arch/alpha/utility.cc b/src/arch/alpha/utility.cc index 0d865e520..80ec360b7 100644 --- a/src/arch/alpha/utility.cc +++ b/src/arch/alpha/utility.cc @@ -40,7 +40,7 @@ namespace AlphaISA { uint64_t -getArgument(ThreadContext *tc, int number, bool fp) +getArgument(ThreadContext *tc, int &number, uint8_t size, bool fp) { #if FULL_SYSTEM const int NumArgumentRegs = 6; @@ -96,5 +96,14 @@ copyMiscRegs(ThreadContext *src, ThreadContext *dest) copyIprs(src, dest); } +void +skipFunction(ThreadContext *tc) +{ + Addr newpc = tc->readIntReg(ReturnAddressReg); + tc->setPC(newpc); + tc->setNextPC(tc->readPC() + sizeof(TheISA::MachInst)); +} + + } // namespace AlphaISA |