nativetrace.cc (6419:2192dac4ad82) nativetrace.cc (6724:70129fdded75)
1/*
2 * Copyright (c) 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;

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

92 changed[i] = (oldState[i] != newState[i]);
93 }
94
95 //R15, aliased with the PC
96 newState[STATE_PC] = tc->readNextPC();
97 changed[STATE_PC] = (newState[STATE_PC] != oldState[STATE_PC]);
98
99 //CPSR
1/*
2 * Copyright (c) 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;

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

92 changed[i] = (oldState[i] != newState[i]);
93 }
94
95 //R15, aliased with the PC
96 newState[STATE_PC] = tc->readNextPC();
97 changed[STATE_PC] = (newState[STATE_PC] != oldState[STATE_PC]);
98
99 //CPSR
100 newState[STATE_CPSR] = tc->readMiscReg(MISCREG_CPSR);
100 newState[STATE_CPSR] = tc->readMiscReg(MISCREG_CPSR) |
101 tc->readIntReg(INTREG_CONDCODES);
101 changed[STATE_CPSR] = (newState[STATE_CPSR] != oldState[STATE_CPSR]);
102}
103
104void
105Trace::ArmNativeTrace::check(NativeTraceRecord *record)
106{
107 ThreadContext *tc = record->getThread();
108 // This area is read only on the target. It can't stop there to tell us

--- 75 unchanged lines hidden ---
102 changed[STATE_CPSR] = (newState[STATE_CPSR] != oldState[STATE_CPSR]);
103}
104
105void
106Trace::ArmNativeTrace::check(NativeTraceRecord *record)
107{
108 ThreadContext *tc = record->getThread();
109 // This area is read only on the target. It can't stop there to tell us

--- 75 unchanged lines hidden ---