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

Protected Member Functions

 Thread (Process *process, ThreadId tid)
 
ErrorCode updateStopInfo (int waitStatus) override
 
void updateState () override
 
- Protected Member Functions inherited from ds2::Target::POSIX::Thread
 Thread (ds2::Target::Process *process, ThreadId tid)
 
- Protected Member Functions inherited from ds2::Target::ThreadBase
 ThreadBase (Process *process, ThreadId tid)
 

Friends

class Process
 

Additional Inherited Members

- Public Types inherited from ds2::Target::ThreadBase
enum  State {
  kInvalid , kRunning , kStepped , kStopped ,
  kTerminated
}
 
- Public Member Functions inherited from ds2::Target::POSIX::Thread
ErrorCode readCPUState (Architecture::CPUState &state) override
 
ErrorCode writeCPUState (Architecture::CPUState const &state) override
 
ErrorCode terminate () override
 
ErrorCode suspend () override
 
ErrorCode step (int signal=0, Address const &address=Address()) override
 
ErrorCode resume (int signal=0, Address const &address=Address()) 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 Attributes inherited from ds2::Target::ThreadBase
Process * _process
 
ThreadId _tid
 
StopInfo _stopInfo
 
State _state
 

Member Function Documentation

◆ updateState()

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

◆ updateStopInfo()

ErrorCode ds2::Target::Linux::Thread::updateStopInfo ( int waitStatus)
overrideprotectedvirtual

Reimplemented from ds2::Target::POSIX::Thread.


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