nativetrace.hh (6398:7a94cba72e02) | nativetrace.hh (6419:2192dac4ad82) |
---|---|
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" | 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" |
|
36 37namespace Trace { 38 39class ArmNativeTrace : public NativeTrace 40{ 41 public: 42 enum StateID { 43 STATE_R0, --- 39 unchanged lines hidden (view full) --- 83 newState = state[0]; 84 oldState = state[1]; 85 } 86 } 87 }; 88 89 ThreadState nState, mState; 90 | 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 |
|
91 public: | 94 public: |
92 ArmNativeTrace(const Params *p) : NativeTrace(p) | 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) |
93 {} 94 95 void check(NativeTraceRecord *record); 96}; 97 98} /* namespace Trace */ 99 100#endif // __ARCH_ARM_NATIVETRACE_HH__ | 105 {} 106 107 void check(NativeTraceRecord *record); 108}; 109 110} /* namespace Trace */ 111 112#endif // __ARCH_ARM_NATIVETRACE_HH__ |