GDB (xrefs)
Classes | Functions | Variables
scm-arch.c File Reference
#include "defs.h"
#include "charset.h"
#include "gdbarch.h"
#include "arch-utils.h"
#include "guile-internal.h"

Go to the source code of this file.

Classes

struct  _arch_smob
 

Functions

static int arscm_is_arch (SCM)
 
static int arscm_print_arch_smob (SCM self, SCM port, scm_print_state *pstate)
 
static SCM arscm_make_arch_smob (struct gdbarch *gdbarch)
 
struct gdbarcharscm_get_gdbarch (arch_smob *a_smob)
 
static SCM gdbscm_arch_p (SCM scm)
 
static void * arscm_object_data_init (struct gdbarch *gdbarch)
 
SCM arscm_scm_from_arch (struct gdbarch *gdbarch)
 
static SCM arscm_get_arch_arg_unsafe (SCM self, int arg_pos, const char *func_name)
 
arch_smobarscm_get_arch_smob_arg_unsafe (SCM self, int arg_pos, const char *func_name)
 
static SCM gdbscm_current_arch (void)
 
static SCM gdbscm_arch_name (SCM self)
 
static SCM gdbscm_arch_charset (SCM self)
 
static SCM gdbscm_arch_wide_charset (SCM self)
 
static const struct builtin_typegdbscm_arch_builtin_type (SCM self, const char *func_name)
 
static SCM gdbscm_arch_void_type (SCM self)
 
static SCM gdbscm_arch_char_type (SCM self)
 
static SCM gdbscm_arch_short_type (SCM self)
 
static SCM gdbscm_arch_int_type (SCM self)
 
static SCM gdbscm_arch_long_type (SCM self)
 
static SCM gdbscm_arch_schar_type (SCM self)
 
static SCM gdbscm_arch_uchar_type (SCM self)
 
static SCM gdbscm_arch_ushort_type (SCM self)
 
static SCM gdbscm_arch_uint_type (SCM self)
 
static SCM gdbscm_arch_ulong_type (SCM self)
 
static SCM gdbscm_arch_float_type (SCM self)
 
static SCM gdbscm_arch_double_type (SCM self)
 
static SCM gdbscm_arch_longdouble_type (SCM self)
 
static SCM gdbscm_arch_bool_type (SCM self)
 
static SCM gdbscm_arch_longlong_type (SCM self)
 
static SCM gdbscm_arch_ulonglong_type (SCM self)
 
static SCM gdbscm_arch_int8_type (SCM self)
 
static SCM gdbscm_arch_uint8_type (SCM self)
 
static SCM gdbscm_arch_int16_type (SCM self)
 
static SCM gdbscm_arch_uint16_type (SCM self)
 
static SCM gdbscm_arch_int32_type (SCM self)
 
static SCM gdbscm_arch_uint32_type (SCM self)
 
static SCM gdbscm_arch_int64_type (SCM self)
 
static SCM gdbscm_arch_uint64_type (SCM self)
 
void gdbscm_initialize_arches (void)
 

Variables

static const char arch_smob_name [] = "gdb:arch"
 
static scm_t_bits arch_smob_tag
 
static struct gdbarch_dataarch_object_data = NULL
 
static const scheme_function arch_functions []
 

Function Documentation

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

Definition at line 139 of file scm-arch.c.

References arch_smob_name, and arscm_is_arch().

Referenced by arscm_get_arch_smob_arg_unsafe().

arch_smob* arscm_get_arch_smob_arg_unsafe ( SCM  self,
int  arg_pos,
const char *  func_name 
)
struct gdbarch* arscm_get_gdbarch ( arch_smob a_smob)

Definition at line 88 of file scm-arch.c.

References _arch_smob::gdbarch.

Referenced by gdbscm_arch_disassemble().

static int arscm_is_arch ( SCM  scm)
static

Definition at line 96 of file scm-arch.c.

References arch_smob_tag.

Referenced by arscm_get_arch_arg_unsafe(), and gdbscm_arch_p().

static SCM arscm_make_arch_smob ( struct gdbarch gdbarch)
static
static void* arscm_object_data_init ( struct gdbarch gdbarch)
static

Definition at line 113 of file scm-arch.c.

References arscm_make_arch_smob().

Referenced by gdbscm_initialize_arches().

static int arscm_print_arch_smob ( SCM  self,
SCM  port,
scm_print_state *  pstate 
)
static
SCM arscm_scm_from_arch ( struct gdbarch gdbarch)

Definition at line 128 of file scm-arch.c.

Referenced by gdbscm_current_arch(), and gdbscm_frame_arch().

static SCM gdbscm_arch_bool_type ( SCM  self)
static
static const struct builtin_type* gdbscm_arch_builtin_type ( SCM  self,
const char *  func_name 
)
static
static SCM gdbscm_arch_char_type ( SCM  self)
static
static SCM gdbscm_arch_charset ( SCM  self)
static
static SCM gdbscm_arch_double_type ( SCM  self)
static
static SCM gdbscm_arch_float_type ( SCM  self)
static
static SCM gdbscm_arch_int16_type ( SCM  self)
static
static SCM gdbscm_arch_int32_type ( SCM  self)
static
static SCM gdbscm_arch_int64_type ( SCM  self)
static
static SCM gdbscm_arch_int8_type ( SCM  self)
static
static SCM gdbscm_arch_int_type ( SCM  self)
static
static SCM gdbscm_arch_long_type ( SCM  self)
static
static SCM gdbscm_arch_longdouble_type ( SCM  self)
static
static SCM gdbscm_arch_longlong_type ( SCM  self)
static
static SCM gdbscm_arch_name ( SCM  self)
static
static SCM gdbscm_arch_p ( SCM  scm)
static

Definition at line 104 of file scm-arch.c.

References arscm_is_arch().

static SCM gdbscm_arch_schar_type ( SCM  self)
static
static SCM gdbscm_arch_short_type ( SCM  self)
static
static SCM gdbscm_arch_uchar_type ( SCM  self)
static
static SCM gdbscm_arch_uint16_type ( SCM  self)
static
static SCM gdbscm_arch_uint32_type ( SCM  self)
static
static SCM gdbscm_arch_uint64_type ( SCM  self)
static
static SCM gdbscm_arch_uint8_type ( SCM  self)
static
static SCM gdbscm_arch_uint_type ( SCM  self)
static
static SCM gdbscm_arch_ulong_type ( SCM  self)
static
static SCM gdbscm_arch_ulonglong_type ( SCM  self)
static
static SCM gdbscm_arch_ushort_type ( SCM  self)
static
static SCM gdbscm_arch_void_type ( SCM  self)
static
static SCM gdbscm_arch_wide_charset ( SCM  self)
static
static SCM gdbscm_current_arch ( void  )
static

Definition at line 166 of file scm-arch.c.

References arscm_scm_from_arch(), and get_current_arch().

void gdbscm_initialize_arches ( void  )

Variable Documentation

const scheme_function arch_functions[]
static

Definition at line 496 of file scm-arch.c.

struct gdbarch_data* arch_object_data = NULL
static

Definition at line 45 of file scm-arch.c.

const char arch_smob_name[] = "gdb:arch"
static
scm_t_bits arch_smob_tag
static

Definition at line 43 of file scm-arch.c.

Referenced by arscm_is_arch(), arscm_make_arch_smob(), and gdbscm_initialize_arches().