GDB (xrefs)
Loading...
Searching...
No Matches
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)
 
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 const registry< gdbarch >::key< void, gdb::noop_deleter< void > > arch_object_data
 
static const scheme_function arch_functions []
 

Function Documentation

◆ arscm_get_arch_arg_unsafe()

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

◆ arscm_get_arch_smob_arg_unsafe()

arch_smob * arscm_get_arch_smob_arg_unsafe ( SCM self,
int arg_pos,
const char * func_name )

◆ arscm_get_gdbarch()

struct gdbarch * arscm_get_gdbarch ( arch_smob * a_smob)

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

References arch_smob::gdbarch.

Referenced by gdbscm_arch_disassemble().

◆ arscm_is_arch()

static int arscm_is_arch ( SCM scm)
static

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

References arch_smob_tag.

Referenced by arscm_get_arch_arg_unsafe(), and gdbscm_arch_p().

◆ arscm_make_arch_smob()

static SCM arscm_make_arch_smob ( struct gdbarch * gdbarch)
static

◆ arscm_print_arch_smob()

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

◆ arscm_scm_from_arch()

SCM arscm_scm_from_arch ( struct gdbarch * gdbarch)

◆ gdbscm_arch_bool_type()

static SCM gdbscm_arch_bool_type ( SCM self)
static

◆ gdbscm_arch_builtin_type()

static const struct builtin_type * gdbscm_arch_builtin_type ( SCM self,
const char * func_name )
static

◆ gdbscm_arch_char_type()

static SCM gdbscm_arch_char_type ( SCM self)
static

◆ gdbscm_arch_charset()

static SCM gdbscm_arch_charset ( SCM self)
static

◆ gdbscm_arch_double_type()

static SCM gdbscm_arch_double_type ( SCM self)
static

◆ gdbscm_arch_float_type()

static SCM gdbscm_arch_float_type ( SCM self)
static

◆ gdbscm_arch_int16_type()

static SCM gdbscm_arch_int16_type ( SCM self)
static

◆ gdbscm_arch_int32_type()

static SCM gdbscm_arch_int32_type ( SCM self)
static

◆ gdbscm_arch_int64_type()

static SCM gdbscm_arch_int64_type ( SCM self)
static

◆ gdbscm_arch_int8_type()

static SCM gdbscm_arch_int8_type ( SCM self)
static

◆ gdbscm_arch_int_type()

static SCM gdbscm_arch_int_type ( SCM self)
static

◆ gdbscm_arch_long_type()

static SCM gdbscm_arch_long_type ( SCM self)
static

◆ gdbscm_arch_longdouble_type()

static SCM gdbscm_arch_longdouble_type ( SCM self)
static

◆ gdbscm_arch_longlong_type()

static SCM gdbscm_arch_longlong_type ( SCM self)
static

◆ gdbscm_arch_name()

static SCM gdbscm_arch_name ( SCM self)
static

◆ gdbscm_arch_p()

static SCM gdbscm_arch_p ( SCM scm)
static

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

References arscm_is_arch().

◆ gdbscm_arch_schar_type()

static SCM gdbscm_arch_schar_type ( SCM self)
static

◆ gdbscm_arch_short_type()

static SCM gdbscm_arch_short_type ( SCM self)
static

◆ gdbscm_arch_uchar_type()

static SCM gdbscm_arch_uchar_type ( SCM self)
static

◆ gdbscm_arch_uint16_type()

static SCM gdbscm_arch_uint16_type ( SCM self)
static

◆ gdbscm_arch_uint32_type()

static SCM gdbscm_arch_uint32_type ( SCM self)
static

◆ gdbscm_arch_uint64_type()

static SCM gdbscm_arch_uint64_type ( SCM self)
static

◆ gdbscm_arch_uint8_type()

static SCM gdbscm_arch_uint8_type ( SCM self)
static

◆ gdbscm_arch_uint_type()

static SCM gdbscm_arch_uint_type ( SCM self)
static

◆ gdbscm_arch_ulong_type()

static SCM gdbscm_arch_ulong_type ( SCM self)
static

◆ gdbscm_arch_ulonglong_type()

static SCM gdbscm_arch_ulonglong_type ( SCM self)
static

◆ gdbscm_arch_ushort_type()

static SCM gdbscm_arch_ushort_type ( SCM self)
static

◆ gdbscm_arch_void_type()

static SCM gdbscm_arch_void_type ( SCM self)
static

◆ gdbscm_arch_wide_charset()

static SCM gdbscm_arch_wide_charset ( SCM self)
static

◆ gdbscm_current_arch()

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

◆ gdbscm_initialize_arches()

void gdbscm_initialize_arches ( void )

Variable Documentation

◆ arch_functions

const scheme_function arch_functions[]
static

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

Referenced by gdbscm_initialize_arches().

◆ arch_object_data

const registry<gdbarch>::key<void, gdb::noop_deleter<void> > arch_object_data
static

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

Referenced by arscm_scm_from_arch().

◆ arch_smob_name

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

◆ arch_smob_tag

scm_t_bits arch_smob_tag
static

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

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