Update contrib.
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
15 // Definitions for the run mode debug agent client side sessions.
19 #ifndef RMDEBUGCLIENT_H
20 #define RMDEBUGCLIENT_H
38 TUint iOwningProcessID;
40 // Probably would want a state element here, under debug control, stopped etc
41 // such that additional information could be provided which was only valid for
49 TUint32 iRequest; // Step, Step into, step threads
50 TUint32 iStartAddress;
64 // Client Side session
65 class RDebugServSession : public RSessionBase
69 TVersion Version() const;
74 TInt ReadMemory(const TUint32 aThreadId, TMemoryInfo* aInfo);
75 TInt WriteMemory(const TUint32 aThreadId, TMemoryInfo* aInfo);
77 // TInt ReadThreadInfo(const TInt aIndex, const TInt aOwningProc, TThreadInfo* aInfo);
78 // TInt ReadProcessInfo(const TInt aIndex, TProcessInfo* aInfo);
79 TInt SuspendThread(const TInt ThreadID);
80 TInt ResumeThread(const TInt ThreadID);
83 RThread iServerThread;
86 // Function codes (opcodes) used in message passing between client and server
92 EDebugServSuspendThread,
93 EDebugServResumeThread,
94 // EDebugServReadProcessInfo,
95 // EDebugServReadThreadInfo,
97 EDebugServWriteMemory,
100 #endif // RMDEBUGCLIENT_H