Deleted Added
sdiff udiff text old ( 6398:7a94cba72e02 ) new ( 6419:2192dac4ad82 )
full compact
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;

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

28 * Authors: Gabe Black
29 */
30
31#ifndef __ARCH_ARM_NATIVETRACE_HH__
32#define __ARCH_ARM_NATIVETRACE_HH__
33
34#include "base/types.hh"
35#include "cpu/nativetrace.hh"
36#include "params/ArmNativeTrace.hh"
37
38namespace Trace {
39
40class ArmNativeTrace : public NativeTrace
41{
42 public:
43 enum StateID {
44 STATE_R0,

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

84 newState = state[0];
85 oldState = state[1];
86 }
87 }
88 };
89
90 ThreadState nState, mState;
91
92 bool stopOnPCError;
93
94 public:
95 typedef ArmNativeTraceParams Params;
96
97 const Params *
98 params() const
99 {
100 return dynamic_cast<const Params *>(_params);
101 }
102
103 ArmNativeTrace(const Params *p) :
104 NativeTrace(p), stopOnPCError(p->stop_on_pc_error)
105 {}
106
107 void check(NativeTraceRecord *record);
108};
109
110} /* namespace Trace */
111
112#endif // __ARCH_ARM_NATIVETRACE_HH__