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); |