kernel/eka/drivers/debug/rmdebug/d_rmd_breakpoints.h
branchRCL_3
changeset 87 2f92ad2dc5db
parent 0 a41df078684a
child 258 880ff05ad710
equal deleted inserted replaced
81:e7d2d738d3c2 87:2f92ad2dc5db
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   167 	TBreakEntry* GetNextBreak(const TBreakEntry* aBreakEntry) const;
   167 	TBreakEntry* GetNextBreak(const TBreakEntry* aBreakEntry) const;
   168 	TBool IsTemporaryBreak(const TBreakEntry& aBreakEntry) const;
   168 	TBool IsTemporaryBreak(const TBreakEntry& aBreakEntry) const;
   169 
   169 
   170 	TInt DoGetBreakList(TUint32* aBuffer, const TUint32 aBufSize, const TUint32 aElement, TUint32& aLastElement);
   170 	TInt DoGetBreakList(TUint32* aBuffer, const TUint32 aBufSize, const TUint32 aElement, TUint32& aLastElement);
   171 
   171 
       
   172 	// Useful helper functions for debugging breakpoint issues
       
   173 	inline void print_BreakpointsDisabledForStep();
       
   174 	inline void print_BreakpointsList();
       
   175 
   172 private:
   176 private:
   173 	// Locked versions of public functions
   177 	// Locked versions of public functions
   174 	TInt priv_DoSetBreak(TInt32 &aBreakId, const TUint64 aId,  const TBool aThreadSpecific, const TUint32 aAddress, const Debug::TArchitectureMode aMode );
   178 	TInt priv_DoSetBreak(TInt32 &aBreakId, const TUint64 aId,  const TBool aThreadSpecific, const TUint32 aAddress, const Debug::TArchitectureMode aMode );
   175 	TInt priv_DoEnableBreak(TBreakEntry &aEntry, TBool aSaveOldInstruction);
   179 	TInt priv_DoEnableBreak(TBreakEntry &aEntry, TBool aSaveOldInstruction);
   176 	TInt priv_DoClearBreak(const TInt32 aBreakId, TBool aIgnoreTerminatedThreads);
   180 	TInt priv_DoClearBreak(const TInt32 aBreakId, TBool aIgnoreTerminatedThreads);
   202 	DSemaphore* iLock;
   206 	DSemaphore* iLock;
   203 
   207 
   204 	TBool iInitialised;
   208 	TBool iInitialised;
   205 };
   209 };
   206 
   210 
       
   211 #include "d_rmd_breakpoints_debug.inl" 
       
   212 
   207 #endif
   213 #endif