GDB (API)
Functions | Variables
/home/stan/gdb/src/gdb/inferior.c File Reference
#include "defs.h"
#include "exec.h"
#include "inferior.h"
#include "target.h"
#include "command.h"
#include "completer.h"
#include "gdbcmd.h"
#include "gdbthread.h"
#include "ui-out.h"
#include "observer.h"
#include "gdbcore.h"
#include "symfile.h"
#include "environ.h"
#include "cli/cli-utils.h"
#include "continuations.h"
#include "arch-utils.h"
#include "target-descriptions.h"
#include "readline/tilde.h"

Go to the source code of this file.

Functions

void _initialize_inferiors (void)
struct inferiorcurrent_inferior (void)
void set_current_inferior (struct inferior *inf)
struct cleanup * save_current_inferior (void)
void init_inferior_list (void)
struct inferioradd_inferior_silent (int pid)
struct inferioradd_inferior (int pid)
void delete_inferior_1 (struct inferior *todel, int silent)
void delete_inferior (int pid)
void delete_inferior_silent (int pid)
void exit_inferior (int pid)
void exit_inferior_silent (int pid)
void exit_inferior_num_silent (int num)
void detach_inferior (int pid)
void inferior_appeared (struct inferior *inf, int pid)
void discard_all_inferiors (void)
struct inferiorfind_inferior_id (int num)
struct inferiorfind_inferior_pid (int pid)
struct inferiorfind_inferior_for_program_space (struct program_space *pspace)
struct inferioriterate_over_inferiors (int(*callback)(struct inferior *, void *), void *data)
int valid_gdb_inferior_id (int num)
int pid_to_gdb_inferior_id (int pid)
int gdb_inferior_id_to_pid (int num)
int in_inferior_list (int pid)
int have_inferiors (void)
int have_live_inferiors (void)
void prune_inferiors (void)
int number_of_inferiors (void)
struct inferioradd_inferior_with_spaces (void)
void initialize_inferiors (void)

Variables

struct inferiorinferior_list = NULL

Function Documentation

void _initialize_inferiors ( void  )
struct inferior* add_inferior ( int  pid) [read]

Definition at line 156 of file inferior.c.

struct inferior* add_inferior_silent ( int  pid) [read]

Definition at line 128 of file inferior.c.

struct inferior* add_inferior_with_spaces ( void  ) [read]

Definition at line 795 of file inferior.c.

struct inferior* current_inferior ( void  ) [read]

Definition at line 58 of file inferior.c.

void delete_inferior ( int  pid)

Definition at line 222 of file inferior.c.

void delete_inferior_1 ( struct inferior todel,
int  silent 
)

Definition at line 192 of file inferior.c.

void delete_inferior_silent ( int  pid)

Definition at line 233 of file inferior.c.

void detach_inferior ( int  pid)

Definition at line 312 of file inferior.c.

void discard_all_inferiors ( void  )

Definition at line 331 of file inferior.c.

void exit_inferior ( int  pid)

Definition at line 285 of file inferior.c.

Definition at line 304 of file inferior.c.

void exit_inferior_silent ( int  pid)

Definition at line 296 of file inferior.c.

struct inferior* find_inferior_for_program_space ( struct program_space pspace) [read]

Definition at line 374 of file inferior.c.

struct inferior* find_inferior_id ( int  num) [read]

Definition at line 343 of file inferior.c.

struct inferior* find_inferior_pid ( int  pid) [read]

Definition at line 355 of file inferior.c.

Definition at line 428 of file inferior.c.

int have_inferiors ( void  )

Definition at line 450 of file inferior.c.

Definition at line 462 of file inferior.c.

Definition at line 438 of file inferior.c.

void inferior_appeared ( struct inferior inf,
int  pid 
)

Definition at line 323 of file inferior.c.

void init_inferior_list ( void  )

Definition at line 110 of file inferior.c.

void initialize_inferiors ( void  )

Definition at line 986 of file inferior.c.

struct inferior* iterate_over_inferiors ( int(*)(struct inferior *, void *)  callback,
void *  data 
) [read]

Definition at line 388 of file inferior.c.

Definition at line 512 of file inferior.c.

Definition at line 416 of file inferior.c.

void prune_inferiors ( void  )

Definition at line 483 of file inferior.c.

struct cleanup* save_current_inferior ( void  ) [read]

Definition at line 88 of file inferior.c.

void set_current_inferior ( struct inferior inf)

Definition at line 64 of file inferior.c.

Definition at line 404 of file inferior.c.


Variable Documentation

struct inferior* inferior_list = NULL

Definition at line 47 of file inferior.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines