GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Functions | Variables
scm-objfile.c File Reference
#include "defs.h"
#include "objfiles.h"
#include "language.h"
#include "guile-internal.h"

Go to the source code of this file.

Classes

struct  objfile_smob
 
struct  ofscm_deleter
 

Functions

SCM ofscm_objfile_smob_pretty_printers (objfile_smob *o_smob)
 
static int ofscm_print_objfile_smob (SCM self, SCM port, scm_print_state *pstate)
 
static SCM ofscm_make_objfile_smob (void)
 
static int ofscm_is_objfile (SCM scm)
 
static SCM gdbscm_objfile_p (SCM scm)
 
objfile_smobofscm_objfile_smob_from_objfile (struct objfile *objfile)
 
SCM ofscm_scm_from_objfile (struct objfile *objfile)
 
static SCM ofscm_get_objfile_arg_unsafe (SCM self, int arg_pos, const char *func_name)
 
static objfile_smobofscm_get_objfile_smob_arg_unsafe (SCM self, int arg_pos, const char *func_name)
 
static int ofscm_is_valid (objfile_smob *o_smob)
 
static objfile_smobofscm_get_valid_objfile_smob_arg_unsafe (SCM self, int arg_pos, const char *func_name)
 
static SCM gdbscm_objfile_valid_p (SCM self)
 
static SCM gdbscm_objfile_filename (SCM self)
 
static SCM gdbscm_objfile_progspace (SCM self)
 
static SCM gdbscm_objfile_pretty_printers (SCM self)
 
static SCM gdbscm_set_objfile_pretty_printers_x (SCM self, SCM printers)
 
void gdbscm_source_objfile_script (const struct extension_language_defn *extlang, struct objfile *objfile, FILE *file, const char *filename)
 
void gdbscm_execute_objfile_script (const struct extension_language_defn *extlang, struct objfile *objfile, const char *name, const char *script)
 
static SCM gdbscm_get_current_objfile (void)
 
static SCM gdbscm_objfiles (void)
 
void gdbscm_initialize_objfiles (void)
 

Variables

static const char objfile_smob_name [] = "gdb:objfile"
 
static scm_t_bits objfile_smob_tag
 
static const registry< objfile >::key< objfile_smob, ofscm_deleterofscm_objfile_data_key
 
static struct objfileofscm_current_objfile
 
static const scheme_function objfile_functions []
 

Function Documentation

◆ gdbscm_execute_objfile_script()

void gdbscm_execute_objfile_script ( const struct extension_language_defn * extlang,
struct objfile * objfile,
const char * name,
const char * script )

◆ gdbscm_get_current_objfile()

static SCM gdbscm_get_current_objfile ( void )
static

Definition at line 339 of file scm-objfile.c.

References ofscm_current_objfile, and ofscm_scm_from_objfile().

◆ gdbscm_initialize_objfiles()

void gdbscm_initialize_objfiles ( void )

◆ gdbscm_objfile_filename()

static SCM gdbscm_objfile_filename ( SCM self)
static

◆ gdbscm_objfile_p()

static SCM gdbscm_objfile_p ( SCM scm)
static

Definition at line 126 of file scm-objfile.c.

References ofscm_is_objfile().

◆ gdbscm_objfile_pretty_printers()

static SCM gdbscm_objfile_pretty_printers ( SCM self)
static

◆ gdbscm_objfile_progspace()

static SCM gdbscm_objfile_progspace ( SCM self)
static

◆ gdbscm_objfile_valid_p()

static SCM gdbscm_objfile_valid_p ( SCM self)
static

◆ gdbscm_objfiles()

static SCM gdbscm_objfiles ( void )
static

◆ gdbscm_set_objfile_pretty_printers_x()

static SCM gdbscm_set_objfile_pretty_printers_x ( SCM self,
SCM printers )
static

◆ gdbscm_source_objfile_script()

void gdbscm_source_objfile_script ( const struct extension_language_defn * extlang,
struct objfile * objfile,
FILE * file,
const char * filename )

◆ ofscm_get_objfile_arg_unsafe()

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

Definition at line 169 of file scm-objfile.c.

References objfile_smob_name, and ofscm_is_objfile().

Referenced by ofscm_get_objfile_smob_arg_unsafe().

◆ ofscm_get_objfile_smob_arg_unsafe()

static objfile_smob * ofscm_get_objfile_smob_arg_unsafe ( SCM self,
int arg_pos,
const char * func_name )
static

◆ ofscm_get_valid_objfile_smob_arg_unsafe()

static objfile_smob * ofscm_get_valid_objfile_smob_arg_unsafe ( SCM self,
int arg_pos,
const char * func_name )
static

◆ ofscm_is_objfile()

static int ofscm_is_objfile ( SCM scm)
static

Definition at line 118 of file scm-objfile.c.

References objfile_smob_tag.

Referenced by gdbscm_objfile_p(), and ofscm_get_objfile_arg_unsafe().

◆ ofscm_is_valid()

static int ofscm_is_valid ( objfile_smob * o_smob)
static

Definition at line 193 of file scm-objfile.c.

References objfile_smob::objfile.

Referenced by ofscm_get_valid_objfile_smob_arg_unsafe().

◆ ofscm_make_objfile_smob()

static SCM ofscm_make_objfile_smob ( void )
static

◆ ofscm_objfile_smob_from_objfile()

objfile_smob * ofscm_objfile_smob_from_objfile ( struct objfile * objfile)

◆ ofscm_objfile_smob_pretty_printers()

SCM ofscm_objfile_smob_pretty_printers ( objfile_smob * o_smob)

Definition at line 68 of file scm-objfile.c.

References objfile_smob::pretty_printers.

Referenced by ppscm_find_pretty_printer_from_objfiles().

◆ ofscm_print_objfile_smob()

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

◆ ofscm_scm_from_objfile()

SCM ofscm_scm_from_objfile ( struct objfile * objfile)

Variable Documentation

◆ objfile_functions

const scheme_function objfile_functions[]
static

Definition at line 369 of file scm-objfile.c.

Referenced by gdbscm_initialize_objfiles().

◆ objfile_smob_name

const char objfile_smob_name[] = "gdb:objfile"
static

◆ objfile_smob_tag

scm_t_bits objfile_smob_tag
static

◆ ofscm_current_objfile

struct objfile* ofscm_current_objfile
static

◆ ofscm_objfile_data_key

const registry<objfile>::key<objfile_smob, ofscm_deleter> ofscm_objfile_data_key
static

Definition at line 63 of file scm-objfile.c.

Referenced by ofscm_objfile_smob_from_objfile().