GDB (API)
Classes | Defines | Typedefs | Functions | Variables
/home/stan/gdb/src/gdb/progspace.h File Reference
#include "target.h"
#include "vec.h"
#include "gdb_vecs.h"
#include "registry.h"

Go to the source code of this file.

Classes

struct  program_space

Defines

#define symfile_objfile   current_program_space->symfile_object_file
#define object_files   current_program_space->objfiles
#define current_target_sections   (&current_program_space->target_sections)
#define ALL_PSPACES(pspace)   for ((pspace) = program_spaces; (pspace) != NULL; (pspace) = (pspace)->next)

Typedefs

typedef struct so_listso_list_ptr

Functions

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

Variables

struct program_spaceprogram_spaces
struct program_spacecurrent_program_space

Define Documentation

#define ALL_PSPACES (   pspace)    for ((pspace) = program_spaces; (pspace) != NULL; (pspace) = (pspace)->next)

Definition at line 231 of file progspace.h.

#define current_target_sections   (&current_program_space->target_sections)

Definition at line 223 of file progspace.h.

#define object_files   current_program_space->objfiles

Definition at line 219 of file progspace.h.

#define symfile_objfile   current_program_space->symfile_object_file

Definition at line 215 of file progspace.h.


Typedef Documentation

typedef struct so_list* so_list_ptr

Definition at line 37 of file progspace.h.


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.

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 32 of file progspace.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines