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

Public Member Functions

 execv_argv (const char *exec_file, const std::string &allargs, const char *shell_file)
 
char ** argv ()
 

Private Member Functions

 DISABLE_COPY_AND_ASSIGN (execv_argv)
 
void init_for_no_shell (const char *exec_file, const std::string &allargs)
 
void init_for_shell (const char *exec_file, const std::string &allargs, const char *shell_file)
 

Private Attributes

std::vector< const char * > m_argv
 
std::string m_storage
 

Detailed Description

Definition at line 36 of file fork-inferior.c.

Constructor & Destructor Documentation

◆ execv_argv()

execv_argv::execv_argv ( const char * exec_file,
const std::string & allargs,
const char * shell_file )

Definition at line 163 of file fork-inferior.c.

References init_for_no_shell(), and init_for_shell().

Member Function Documentation

◆ argv()

char ** execv_argv::argv ( )
inline

Definition at line 51 of file fork-inferior.c.

References m_argv.

Referenced by fork_inferior().

◆ DISABLE_COPY_AND_ASSIGN()

execv_argv::DISABLE_COPY_AND_ASSIGN ( execv_argv )
private

◆ init_for_no_shell()

void execv_argv::init_for_no_shell ( const char * exec_file,
const std::string & allargs )
private

Definition at line 93 of file fork-inferior.c.

References m_argv, and m_storage.

Referenced by execv_argv().

◆ init_for_shell()

void execv_argv::init_for_shell ( const char * exec_file,
const std::string & allargs,
const char * shell_file )
private

Member Data Documentation

◆ m_argv

std::vector<const char *> execv_argv::m_argv
private

Definition at line 75 of file fork-inferior.c.

Referenced by argv(), init_for_no_shell(), and init_for_shell().

◆ m_storage

std::string execv_argv::m_storage
private

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

Referenced by init_for_no_shell(), and init_for_shell().


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