DebugServer2
Loading...
Searching...
No Matches
ds2::Target::Windows::Thread Class Reference
Inheritance diagram for ds2::Target::Windows::Thread:
Collaboration diagram for ds2::Target::Windows::Thread:

Public Member Functions

virtual ErrorCode terminate () override
 
virtual ErrorCode suspend () override
 
virtual ErrorCode step (int signal=0, Address const &address=Address()) override
 
virtual ErrorCode resume (int signal=0, Address const &address=Address()) override
 
virtual ErrorCode readCPUState (Architecture::CPUState &state) override
 
virtual ErrorCode writeCPUState (Architecture::CPUState const &state) override
 
- Public Member Functions inherited from ds2::Target::ThreadBase
Process * process () const
 
ThreadId tid () const
 
StopInfo const & stopInfo () const
 
State state () const
 
virtual ErrorCode beforeResume ()
 
virtual ErrorCode modifyRegisters (std::function< void(Architecture::CPUState &state)> action) final
 
uint32_t core () const
 

Protected Member Functions

 Thread (Process *process, ThreadId tid, HANDLE handle)
 
virtual void updateState () override
 
virtual void updateState (DEBUG_EVENT const &de)
 
- Protected Member Functions inherited from ds2::Target::ThreadBase
 ThreadBase (Process *process, ThreadId tid)
 

Protected Attributes

HANDLE _handle
 
- Protected Attributes inherited from ds2::Target::ThreadBase
Process * _process
 
ThreadId _tid
 
StopInfo _stopInfo
 
State _state
 

Friends

class Process
 

Additional Inherited Members

- Public Types inherited from ds2::Target::ThreadBase
enum  State {
  kInvalid , kRunning , kStepped , kStopped ,
  kTerminated
}
 

Member Function Documentation

◆ readCPUState()

ErrorCode ds2::Target::Windows::Thread::readCPUState ( Architecture::CPUState & state)
overridevirtual

◆ resume()

ErrorCode ds2::Target::Windows::Thread::resume ( int signal = 0,
Address const & address = Address() )
overridevirtual

◆ step()

ErrorCode ds2::Target::Windows::Thread::step ( int signal = 0,
Address const & address = Address() )
overridevirtual

◆ suspend()

ErrorCode ds2::Target::Windows::Thread::suspend ( )
overridevirtual

◆ terminate()

ErrorCode ds2::Target::Windows::Thread::terminate ( )
overridevirtual

◆ updateState()

void ds2::Target::Windows::Thread::updateState ( )
overrideprotectedvirtual

◆ writeCPUState()

ErrorCode ds2::Target::Windows::Thread::writeCPUState ( Architecture::CPUState const & state)
overridevirtual

The documentation for this class was generated from the following files: