GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Functions | Variables
scm-progspace.c File Reference
#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_smobpsscm_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_smobpsscm_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_smobpsscm_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_deleterpsscm_pspace_data_key
 
static const scheme_function pspace_functions []
 

Function Documentation

◆ gdbscm_current_progspace()

static SCM gdbscm_current_progspace ( void )
static

Definition at line 330 of file scm-progspace.c.

References current_program_space, and psscm_scm_from_pspace().

◆ gdbscm_initialize_pspaces()

void gdbscm_initialize_pspaces ( void )

◆ gdbscm_progspace_filename()

static SCM gdbscm_progspace_filename ( SCM self)
static

◆ gdbscm_progspace_objfiles()

static SCM gdbscm_progspace_objfiles ( SCM self)
static

◆ gdbscm_progspace_p()

static SCM gdbscm_progspace_p ( SCM scm)
static

Definition at line 136 of file scm-progspace.c.

References psscm_is_pspace().

◆ gdbscm_progspace_pretty_printers()

static SCM gdbscm_progspace_pretty_printers ( SCM self)
static

◆ gdbscm_progspace_valid_p()

static SCM gdbscm_progspace_valid_p ( SCM self)
static

◆ gdbscm_progspaces()

static SCM gdbscm_progspaces ( void )
static

Definition at line 343 of file scm-progspace.c.

References program_spaces, and psscm_scm_from_pspace().

◆ gdbscm_set_progspace_pretty_printers_x()

static SCM gdbscm_set_progspace_pretty_printers_x ( SCM self,
SCM printers )
static

◆ psscm_get_pspace_arg_unsafe()

static SCM psscm_get_pspace_arg_unsafe ( SCM self,
int arg_pos,
const char * func_name )
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().

◆ psscm_get_pspace_smob_arg_unsafe()

static pspace_smob * psscm_get_pspace_smob_arg_unsafe ( SCM self,
int arg_pos,
const char * func_name )
static

◆ psscm_get_valid_pspace_smob_arg_unsafe()

static pspace_smob * psscm_get_valid_pspace_smob_arg_unsafe ( SCM self,
int arg_pos,
const char * func_name )
static

◆ psscm_is_pspace()

static int psscm_is_pspace ( SCM scm)
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().

◆ psscm_is_valid()

static int psscm_is_valid ( pspace_smob * p_smob)
static

Definition at line 203 of file scm-progspace.c.

References pspace_smob::pspace.

Referenced by psscm_get_valid_pspace_smob_arg_unsafe().

◆ psscm_make_pspace_smob()

static SCM psscm_make_pspace_smob ( void )
static

◆ psscm_print_pspace_smob()

static int psscm_print_pspace_smob ( SCM self,
SCM port,
scm_print_state * pstate )
static

◆ psscm_pspace_smob_from_pspace()

pspace_smob * psscm_pspace_smob_from_pspace ( struct program_space * pspace)

◆ psscm_pspace_smob_pretty_printers()

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().

◆ psscm_scm_from_pspace()

SCM psscm_scm_from_pspace ( struct program_space * pspace)

Variable Documentation

◆ pspace_functions

const scheme_function pspace_functions[]
static

Definition at line 361 of file scm-progspace.c.

Referenced by gdbscm_initialize_pspaces().

◆ pspace_smob_name

const char pspace_smob_name[] = "gdb:progspace"
static

◆ pspace_smob_tag

scm_t_bits pspace_smob_tag
static

◆ psscm_pspace_data_key

const registry<program_space>::key<pspace_smob, psscm_deleter> psscm_pspace_data_key
static

Definition at line 66 of file scm-progspace.c.

Referenced by psscm_pspace_smob_from_pspace().