commit_impl.hh (6658:f4de76601762) | commit_impl.hh (6667:8b5bc1a777bc) |
---|---|
1/* 2 * Copyright (c) 2004-2006 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; --- 1062 unchanged lines hidden (view full) --- 1071 cpu->trap(inst_fault, tid); 1072 1073 // Exit state update mode to avoid accidental updating. 1074 thread[tid]->inSyscall = false; 1075 1076 commitStatus[tid] = TrapPending; 1077 1078 if (head_inst->traceData) { | 1/* 2 * Copyright (c) 2004-2006 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; --- 1062 unchanged lines hidden (view full) --- 1071 cpu->trap(inst_fault, tid); 1072 1073 // Exit state update mode to avoid accidental updating. 1074 thread[tid]->inSyscall = false; 1075 1076 commitStatus[tid] = TrapPending; 1077 1078 if (head_inst->traceData) { |
1079 head_inst->traceData->setFetchSeq(head_inst->seqNum); 1080 head_inst->traceData->setCPSeq(thread[tid]->numInst); 1081 head_inst->traceData->dump(); | 1079 if (DTRACE(ExecFaulting)) { 1080 head_inst->traceData->setFetchSeq(head_inst->seqNum); 1081 head_inst->traceData->setCPSeq(thread[tid]->numInst); 1082 head_inst->traceData->dump(); 1083 } |
1082 delete head_inst->traceData; 1083 head_inst->traceData = NULL; 1084 } 1085 1086 // Generate trap squash event. 1087 generateTrapEvent(tid); 1088// warn("%lli fault (%d) handled @ PC %08p", curTick, inst_fault->name(), head_inst->readPC()); 1089 return false; --- 298 unchanged lines hidden --- | 1084 delete head_inst->traceData; 1085 head_inst->traceData = NULL; 1086 } 1087 1088 // Generate trap squash event. 1089 generateTrapEvent(tid); 1090// warn("%lli fault (%d) handled @ PC %08p", curTick, inst_fault->name(), head_inst->readPC()); 1091 return false; --- 298 unchanged lines hidden --- |