GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
fork_info Struct Reference

Public Member Functions

 fork_info (pid_t pid)
 
 ~fork_info ()
 

Public Attributes

ptid_t ptid = null_ptid
 
ptid_t parent_ptid = null_ptid
 
int num = 0
 
readonly_detached_regcachesavedregs = nullptr
 
CORE_ADDR pc = 0
 
off_t * filepos = nullptr
 
int maxfd = 0
 

Detailed Description

Definition at line 41 of file linux-fork.c.

Constructor & Destructor Documentation

◆ fork_info()

fork_info::fork_info ( pid_t pid)
inlineexplicit

Definition at line 43 of file linux-fork.c.

◆ ~fork_info()

fork_info::~fork_info ( )
inline

Definition at line 48 of file linux-fork.c.

References filepos, savedregs, and xfree().

Member Data Documentation

◆ filepos

off_t* fork_info::filepos = nullptr

Definition at line 81 of file linux-fork.c.

Referenced by fork_load_infrun_state(), fork_save_infrun_state(), and ~fork_info().

◆ maxfd

int fork_info::maxfd = 0

Definition at line 83 of file linux-fork.c.

Referenced by fork_load_infrun_state(), and fork_save_infrun_state().

◆ num

int fork_info::num = 0

Definition at line 72 of file linux-fork.c.

Referenced by add_fork(), checkpoint_command(), find_fork_id(), and fork_id_to_ptid().

◆ parent_ptid

ptid_t fork_info::parent_ptid = null_ptid

Definition at line 69 of file linux-fork.c.

Referenced by checkpoint_command(), and delete_checkpoint_command().

◆ pc

CORE_ADDR fork_info::pc = 0

Definition at line 78 of file linux-fork.c.

Referenced by fork_save_infrun_state().

◆ ptid

ptid_t fork_info::ptid = null_ptid

◆ savedregs

readonly_detached_regcache* fork_info::savedregs = nullptr

Definition at line 76 of file linux-fork.c.

Referenced by fork_load_infrun_state(), fork_save_infrun_state(), and ~fork_info().


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