GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
thread_fsm Struct Referenceabstract

#include "thread-fsm.h"

Inheritance diagram for thread_fsm:
call_thread_fsm finish_command_fsm step_command_fsm until_break_fsm until_next_fsm

Public Member Functions

 thread_fsm (struct interp *cmd_interp)
 
virtual ~thread_fsm ()=default
 
 DISABLE_COPY_AND_ASSIGN (thread_fsm)
 
virtual void clean_up (struct thread_info *thread)
 
virtual bool should_stop (struct thread_info *thread)=0
 
virtual struct return_value_inforeturn_value ()
 
enum async_reply_reason async_reply_reason ()
 
virtual bool should_notify_stop ()
 
void set_finished ()
 
bool finished_p () const
 

Public Attributes

struct interpcommand_interp = nullptr
 

Protected Member Functions

virtual enum async_reply_reason do_async_reply_reason ()
 

Protected Attributes

bool finished = false
 

Detailed Description

Definition at line 31 of file thread-fsm.h.

Constructor & Destructor Documentation

◆ thread_fsm()

thread_fsm::thread_fsm ( struct interp * cmd_interp)
inlineexplicit

Definition at line 33 of file thread-fsm.h.

◆ ~thread_fsm()

virtual thread_fsm::~thread_fsm ( )
virtualdefault

Member Function Documentation

◆ async_reply_reason()

enum async_reply_reason thread_fsm::async_reply_reason ( )
inline

Definition at line 68 of file thread-fsm.h.

References do_async_reply_reason(), and finished_p().

Referenced by mi_interp::on_normal_stop().

◆ clean_up()

virtual void thread_fsm::clean_up ( struct thread_info * thread)
inlinevirtual

Reimplemented in until_break_fsm, step_command_fsm, until_next_fsm, and finish_command_fsm.

Definition at line 48 of file thread-fsm.h.

Referenced by clean_up_just_stopped_threads_fsms(), and step_1().

◆ DISABLE_COPY_AND_ASSIGN()

thread_fsm::DISABLE_COPY_AND_ASSIGN ( thread_fsm )

◆ do_async_reply_reason()

virtual enum async_reply_reason thread_fsm::do_async_reply_reason ( )
inlineprotectedvirtual

Reimplemented in until_break_fsm, step_command_fsm, until_next_fsm, and finish_command_fsm.

Definition at line 107 of file thread-fsm.h.

Referenced by async_reply_reason().

◆ finished_p()

bool thread_fsm::finished_p ( ) const
inline

◆ return_value()

virtual struct return_value_info * thread_fsm::return_value ( )
inlinevirtual

Reimplemented in finish_command_fsm.

Definition at line 63 of file thread-fsm.h.

Referenced by print_stop_event().

◆ set_finished()

void thread_fsm::set_finished ( )
inline

◆ should_notify_stop()

virtual bool thread_fsm::should_notify_stop ( )
inlinevirtual

Reimplemented in call_thread_fsm.

Definition at line 77 of file thread-fsm.h.

Referenced by fetch_inferior_event().

◆ should_stop()

virtual bool thread_fsm::should_stop ( struct thread_info * thread)
pure virtual

Member Data Documentation

◆ command_interp

struct interp* thread_fsm::command_interp = nullptr

Definition at line 98 of file thread-fsm.h.

Referenced by should_print_stop_to_console().

◆ finished

bool thread_fsm::finished = false
protected

Definition at line 103 of file thread-fsm.h.

Referenced by finished_p(), and set_finished().


The documentation for this struct was generated from the following file: