GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/fork-child.c File Reference
#include "defs.h"
#include "gdb_string.h"
#include "inferior.h"
#include "terminal.h"
#include "target.h"
#include "gdb_wait.h"
#include "gdb_vfork.h"
#include "gdbcore.h"
#include "gdbthread.h"
#include "command.h"
#include "gdbcmd.h"
#include "solib.h"
#include "filestuff.h"
#include <signal.h>

Go to the source code of this file.

Defines

#define SHELL_FILE   "/bin/sh"

Functions

int fork_inferior (char *exec_file_arg, char *allargs, char **env, void(*traceme_fun)(void), void(*init_trace_fun)(int), void(*pre_trace_fun)(void), char *shell_file_arg, void(*exec_fun)(const char *file, char *const *argv, char *const *env))
void startup_inferior (int ntraps)
void _initialize_fork_child (void)

Variables

char ** environ
initialize_file_ftype _initialize_fork_child

Define Documentation

#define SHELL_FILE   "/bin/sh"

Definition at line 40 of file fork-child.c.


Function Documentation

void _initialize_fork_child ( void  )

Definition at line 540 of file fork-child.c.

int fork_inferior ( char *  exec_file_arg,
char *  allargs,
char **  env,
void(*)(void)  traceme_fun,
void(*)(int init_trace_fun,
void(*)(void)  pre_trace_fun,
char *  shell_file_arg,
void(*)(const char *file, char *const *argv, char *const *env)  exec_fun 
)

Definition at line 124 of file fork-child.c.

void startup_inferior ( int  ntraps)

Definition at line 416 of file fork-child.c.


Variable Documentation

char** environ
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines