75 address_space_alloc_data (aspace);
92 return program_spaces->
aspace;
101 address_space_free_data (aspace);
134 program_space_alloc_data (pspace);
137 program_spaces = pspace;
166 program_space_free_data (pspace);
201 if (current_program_space == pspace)
206 current_program_space = pspace;
231 current_program_space);
287 if (requested != -1 && pspace->
num != requested)
308 if (requested != -1 && requested != pspace->
num)
313 if (pspace == current_program_space)
332 if (inf->
pspace == pspace)
362 if (pspace->
num == num)
381 error (
_(
"program space ID %d not known."), requested);
470 if (inf != NULL && inf->
pid != 0)
498 pspace->deleted_solibs = NULL;
508 _(
"Info about currently known program spaces."),
struct gdbarch * target_gdbarch(void)
int number_of_program_spaces(void)
struct address_space * maybe_new_address_space(void)
void free_char_ptr_vec(VEC(char_ptr)*char_ptr_vec)
#define DEFINE_REGISTRY(TAG, ACCESS)
void ui_out_field_int(struct ui_out *uiout, const char *fldname, int value)
static int pspace_empty_p(struct program_space *pspace)
struct address_space * aspace
void free_all_objfiles(void)
int gdbarch_has_global_solist(struct gdbarch *gdbarch)
void no_shared_libraries(char *ignored, int from_tty)
struct objfile * symfile_object_file
struct cleanup * make_cleanup_ui_out_table_begin_end(struct ui_out *ui_out, int nr_cols, int nr_rows, const char *tblid)
struct cmd_list_element * maintenanceinfolist
#define REGISTRY_ACCESS_FIELD(CONTAINER)
void switch_to_thread(ptid_t ptid)
char * target_pid_to_str(ptid_t ptid)
void breakpoint_program_space_exit(struct program_space *pspace)
void ui_out_text(struct ui_out *uiout, const char *string)
void printf_filtered(const char *format,...)
struct program_space * add_program_space(struct address_space *aspace)
void set_current_program_space(struct program_space *pspace)
static void print_program_space(struct ui_out *uiout, int requested)
static int valid_program_space_id(int num)
void initialize_progspace(void)
struct address_space * aspace
void ui_out_field_skip(struct ui_out *uiout, const char *fldname)
struct cleanup * make_cleanup_ui_out_tuple_begin_end(struct ui_out *uiout, const char *id)
struct program_space * pspace
struct target_section_table target_sections
struct thread_info * any_live_thread_of_process(int pid)
static int highest_address_space_num
void update_address_spaces(void)
struct cmd_list_element * add_cmd(const char *name, enum command_class theclass, cmd_cfunc_ftype *fun, const char *doc, struct cmd_list_element **list)
ptid_t pid_to_ptid(int pid)
struct cleanup * make_cleanup(make_cleanup_ftype *function, void *arg)
int last_program_space_num
void clear_program_space_solib_cache(struct program_space *pspace)
struct inferior * inferior_list
int gdbarch_has_shared_address_space(struct gdbarch *gdbarch)
static void init_address_spaces(void)
const char * objfile_name(const struct objfile *objfile)
void symbol_file_add_main(const char *args, int from_tty)
struct program_space * clone_program_space(struct program_space *dest, struct program_space *src)
void exec_file_attach(const char *filename, int from_tty)
static void restore_program_space(void *arg)
#define ALL_PSPACES(pspace)
static void release_program_space(struct program_space *pspace)
struct cleanup * make_cleanup_restore_current_thread(void)
char * pspace_exec_filename
int address_space_num(struct address_space *aspace)
struct address_space * new_address_space(void)
void ui_out_table_header(struct ui_out *uiout, int width, enum ui_align alignment, const char *col_name, const char *colhdr)
struct program_space * current_program_space
static void free_address_space(struct address_space *aspace)
struct cleanup * save_current_program_space(void)
struct cleanup * save_current_space_and_thread(void)
struct inferior * find_inferior_for_program_space(struct program_space *pspace)
void ui_out_field_string(struct ui_out *uiout, const char *fldname, const char *string)
static void maintenance_info_program_spaces_command(char *args, int from_tty)
void ui_out_table_body(struct ui_out *uiout)
void switch_to_program_space_and_thread(struct program_space *pspace)
void reinit_frame_cache(void)
void prune_program_spaces(void)
struct ui_out * current_uiout
void clear_section_table(struct target_section_table *table)
void error(const char *fmt,...)
struct program_space * next
void do_cleanups(struct cleanup *old_chain)
struct program_space * program_spaces
LONGEST parse_and_eval_long(const char *exp)