GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
target_stack Class Reference

#include "target.h"

Public Member Functions

 target_stack ()=default
 
 DISABLE_COPY_AND_ASSIGN (target_stack)
 
void push (target_ops *t)
 
bool unpush (target_ops *t)
 
bool is_pushed (const target_ops *t) const
 
target_opsat (strata stratum) const
 
target_opstop () const
 
target_opsfind_beneath (const target_ops *t) const
 

Private Attributes

std::array< target_ops_ref,(int) debug_stratum+1 > m_stack
 

Detailed Description

Definition at line 1378 of file target.h.

Constructor & Destructor Documentation

◆ target_stack()

target_stack::target_stack ( )
default

Member Function Documentation

◆ at()

target_ops * target_stack::at ( strata stratum) const
inline

Definition at line 1397 of file target.h.

Referenced by inferior::process_target(), and inferior::target_at().

◆ DISABLE_COPY_AND_ASSIGN()

target_stack::DISABLE_COPY_AND_ASSIGN ( target_stack )

◆ find_beneath()

target_ops * target_stack::find_beneath ( const target_ops * t) const

Definition at line 3599 of file target.c.

References get(), m_stack, and target_ops::stratum().

Referenced by inferior::find_target_beneath(), and unpush().

◆ is_pushed()

bool target_stack::is_pushed ( const target_ops * t) const
inline

Definition at line 1393 of file target.h.

References target_ops::stratum().

Referenced by inferior::target_is_pushed().

◆ push()

void target_stack::push ( target_ops * t)

◆ top()

target_ops * target_stack::top ( ) const
inline

Definition at line 1400 of file target.h.

Referenced by inferior::top_target(), and inferior::~inferior().

◆ unpush()

bool target_stack::unpush ( target_ops * t)

Definition at line 1226 of file target.c.

References dummy_stratum, find_beneath(), m_stack, and target_ops::stratum().

Referenced by push(), and inferior::unpush_target().

Member Data Documentation

◆ m_stack

std::array<target_ops_ref, (int) debug_stratum + 1> target_stack::m_stack
private

Definition at line 1412 of file target.h.

Referenced by find_beneath(), push(), and unpush().


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