GDB (xrefs)
|
#include "defs.h"
#include "charset.h"
#include "progspace.h"
#include "objfiles.h"
#include "language.h"
#include "arch-utils.h"
#include "guile-internal.h"
Go to the source code of this file.
Classes | |
struct | pspace_smob |
struct | psscm_deleter |
Functions | |
SCM | psscm_pspace_smob_pretty_printers (const pspace_smob *p_smob) |
static int | psscm_print_pspace_smob (SCM self, SCM port, scm_print_state *pstate) |
static SCM | psscm_make_pspace_smob (void) |
static int | psscm_is_pspace (SCM scm) |
static SCM | gdbscm_progspace_p (SCM scm) |
pspace_smob * | psscm_pspace_smob_from_pspace (struct program_space *pspace) |
SCM | psscm_scm_from_pspace (struct program_space *pspace) |
static SCM | psscm_get_pspace_arg_unsafe (SCM self, int arg_pos, const char *func_name) |
static pspace_smob * | psscm_get_pspace_smob_arg_unsafe (SCM self, int arg_pos, const char *func_name) |
static int | psscm_is_valid (pspace_smob *p_smob) |
static pspace_smob * | psscm_get_valid_pspace_smob_arg_unsafe (SCM self, int arg_pos, const char *func_name) |
static SCM | gdbscm_progspace_valid_p (SCM self) |
static SCM | gdbscm_progspace_filename (SCM self) |
static SCM | gdbscm_progspace_objfiles (SCM self) |
static SCM | gdbscm_progspace_pretty_printers (SCM self) |
static SCM | gdbscm_set_progspace_pretty_printers_x (SCM self, SCM printers) |
static SCM | gdbscm_current_progspace (void) |
static SCM | gdbscm_progspaces (void) |
void | gdbscm_initialize_pspaces (void) |
Variables | |
static const char | pspace_smob_name [] = "gdb:progspace" |
static scm_t_bits | pspace_smob_tag |
static const registry< program_space >::key< pspace_smob, psscm_deleter > | psscm_pspace_data_key |
static const scheme_function | pspace_functions [] |
|
static |
Definition at line 330 of file scm-progspace.c.
References current_program_space, and psscm_scm_from_pspace().
void gdbscm_initialize_pspaces | ( | void | ) |
Definition at line 403 of file scm-progspace.c.
References gdbscm_define_functions(), gdbscm_make_smob_type(), pspace_functions, pspace_smob_name, pspace_smob_tag, and psscm_print_pspace_smob().
|
static |
Definition at line 248 of file scm-progspace.c.
References FUNC_NAME, gdbscm_scm_from_c_string(), objfile_name(), pspace_smob::pspace, psscm_get_valid_pspace_smob_arg_unsafe(), and program_space::symfile_object_file.
|
static |
Definition at line 273 of file scm-progspace.c.
References FUNC_NAME, program_space::objfiles(), ofscm_scm_from_objfile(), pspace_smob::pspace, psscm_get_valid_pspace_smob_arg_unsafe(), and objfile::separate_debug_objfile_backlink.
|
static |
Definition at line 136 of file scm-progspace.c.
References psscm_is_pspace().
|
static |
Definition at line 301 of file scm-progspace.c.
References FUNC_NAME, pspace_smob::pretty_printers, and psscm_get_pspace_smob_arg_unsafe().
|
static |
Definition at line 234 of file scm-progspace.c.
References FUNC_NAME, pspace_smob::pspace, and psscm_get_pspace_smob_arg_unsafe().
|
static |
Definition at line 343 of file scm-progspace.c.
References program_spaces, and psscm_scm_from_pspace().
|
static |
Definition at line 313 of file scm-progspace.c.
References FUNC_NAME, gdbscm_is_true, pspace_smob::pretty_printers, and psscm_get_pspace_smob_arg_unsafe().
|
static |
Definition at line 179 of file scm-progspace.c.
References pspace_smob_name, and psscm_is_pspace().
Referenced by psscm_get_pspace_smob_arg_unsafe().
|
static |
Definition at line 191 of file scm-progspace.c.
References psscm_get_pspace_arg_unsafe().
Referenced by gdbscm_progspace_pretty_printers(), gdbscm_progspace_valid_p(), gdbscm_set_progspace_pretty_printers_x(), and psscm_get_valid_pspace_smob_arg_unsafe().
|
static |
Definition at line 213 of file scm-progspace.c.
References gdbscm_invalid_object_error(), psscm_get_pspace_smob_arg_unsafe(), and psscm_is_valid().
Referenced by gdbscm_progspace_filename(), and gdbscm_progspace_objfiles().
|
static |
Definition at line 128 of file scm-progspace.c.
References pspace_smob_tag.
Referenced by gdbscm_progspace_p(), and psscm_get_pspace_arg_unsafe().
|
static |
Definition at line 203 of file scm-progspace.c.
References pspace_smob::pspace.
Referenced by psscm_get_valid_pspace_smob_arg_unsafe().
|
static |
Definition at line 110 of file scm-progspace.c.
References pspace_smob::base, pspace_smob::containing_scm, gdbscm_init_gsmob(), pspace_smob::pretty_printers, pspace_smob::pspace, pspace_smob_name, pspace_smob_tag, and scm_new_smob().
Referenced by psscm_pspace_smob_from_pspace().
|
static |
Definition at line 81 of file scm-progspace.c.
References gdbscm_printf(), objfile_name(), pspace_smob::pspace, pspace_smob_name, and program_space::symfile_object_file.
Referenced by gdbscm_initialize_pspaces().
pspace_smob * psscm_pspace_smob_from_pspace | ( | struct program_space * | pspace | ) |
Definition at line 146 of file scm-progspace.c.
References pspace_smob::containing_scm, registry< T >::get(), pspace_smob::pspace, objfile::pspace, psscm_make_pspace_smob(), psscm_pspace_data_key, and registry< T >::set().
Referenced by ppscm_find_pretty_printer_from_progspace(), and psscm_scm_from_pspace().
SCM psscm_pspace_smob_pretty_printers | ( | const pspace_smob * | p_smob | ) |
Definition at line 71 of file scm-progspace.c.
References pspace_smob::pretty_printers.
Referenced by ppscm_find_pretty_printer_from_progspace().
SCM psscm_scm_from_pspace | ( | struct program_space * | pspace | ) |
Definition at line 168 of file scm-progspace.c.
References pspace_smob::containing_scm, objfile::pspace, and psscm_pspace_smob_from_pspace().
Referenced by gdbscm_current_progspace(), gdbscm_objfile_progspace(), and gdbscm_progspaces().
|
static |
Definition at line 361 of file scm-progspace.c.
Referenced by gdbscm_initialize_pspaces().
|
static |
Definition at line 50 of file scm-progspace.c.
Referenced by gdbscm_initialize_pspaces(), psscm_get_pspace_arg_unsafe(), psscm_make_pspace_smob(), and psscm_print_pspace_smob().
|
static |
Definition at line 53 of file scm-progspace.c.
Referenced by gdbscm_initialize_pspaces(), psscm_is_pspace(), and psscm_make_pspace_smob().
|
static |
Definition at line 66 of file scm-progspace.c.
Referenced by psscm_pspace_smob_from_pspace().