GDB (API)
Functions | Variables
/home/stan/gdb/src/gdb/progspace.c File Reference
#include "defs.h"
#include "gdbcmd.h"
#include "objfiles.h"
#include "arch-utils.h"
#include "gdbcore.h"
#include "solib.h"
#include "gdbthread.h"

Go to the source code of this file.

Functions

struct address_space * new_address_space (void)
struct address_space * maybe_new_address_space (void)
int address_space_num (struct address_space *aspace)
struct program_spaceadd_program_space (struct address_space *aspace)
void remove_program_space (struct program_space *pspace)
struct program_spaceclone_program_space (struct program_space *dest, struct program_space *src)
void set_current_program_space (struct program_space *pspace)
struct cleanup * save_current_program_space (void)
void prune_program_spaces (void)
int number_of_program_spaces (void)
void update_address_spaces (void)
struct cleanup * save_current_space_and_thread (void)
void switch_to_program_space_and_thread (struct program_space *pspace)
void clear_program_space_solib_cache (struct program_space *pspace)
void initialize_progspace (void)

Variables

int last_program_space_num = 0
struct program_spaceprogram_spaces
struct program_spacecurrent_program_space

Function Documentation

struct program_space* add_program_space ( struct address_space *  aspace) [read]

Definition at line 115 of file progspace.c.

int address_space_num ( struct address_space *  aspace)

Definition at line 96 of file progspace.c.

Definition at line 513 of file progspace.c.

struct program_space* clone_program_space ( struct program_space dest,
struct program_space src 
) [read]

Definition at line 191 of file progspace.c.

void initialize_progspace ( void  )

Definition at line 524 of file progspace.c.

struct address_space* maybe_new_address_space ( void  ) [read]

Definition at line 76 of file progspace.c.

struct address_space* new_address_space ( void  ) [read]

Definition at line 61 of file progspace.c.

Definition at line 409 of file progspace.c.

void prune_program_spaces ( void  )

Definition at line 266 of file progspace.c.

void remove_program_space ( struct program_space pspace)

Definition at line 166 of file progspace.c.

struct cleanup* save_current_program_space ( void  ) [read]

Definition at line 243 of file progspace.c.

struct cleanup* save_current_space_and_thread ( void  ) [read]

Definition at line 467 of file progspace.c.

void set_current_program_space ( struct program_space pspace)

Definition at line 214 of file progspace.c.

Definition at line 485 of file progspace.c.

void update_address_spaces ( void  )

Definition at line 432 of file progspace.c.


Variable Documentation

Definition at line 35 of file progspace.c.

Definition at line 29 of file progspace.c.

Definition at line 32 of file progspace.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines