GDB (xrefs)

Classes | Macros | Typedefs | Functions | Variables
guile-internal.h File Reference
`#include "hashtab.h"`
`#include "extension-priv.h"`
`#include "symtab.h"`
`#include "libguile.h"`

Go to the source code of this file.

## Classes
struct | scheme_variable
struct | scheme_function
struct | scheme_integer_constant
struct | gdb_smob
struct | _chained_gdb_smob
struct | _eqable_gdb_smob

## Macros
#define | END_VARIABLES { NULL, SCM_BOOL_F, NULL }
#define | END_FUNCTIONS { NULL, 0, 0, 0, NULL, NULL }
#define | END_INTEGER_CONSTANTS { NULL, 0 }
#define | GDBSCM_ARG_NONE 0
#define | scm_make_smob_type USE_gdbscm_make_smob_type_INSTEAD
#define | scm_is_bool USE_gdbscm_is_bool_INSTEAD
#define | scm_is_false USE_gdbscm_is_false_INSTEAD
#define | scm_is_true USE_gdbscm_is_true_INSTEAD
#define | gdbscm_is_bool(scm) (scm_is_eq ((scm), SCM_BOOL_F) || scm_is_eq ((scm), SCM_BOOL_T))
#define | gdbscm_is_false(scm) scm_is_eq ((scm), SCM_BOOL_F)
#define | gdbscm_is_true(scm) (!gdbscm_is_false (scm))
#define | FUNC_NAME __func__
#define | GDB_SMOB_HEAD int empty_base_class;
#define | GDBSCM_HANDLE_GDB_EXCEPTION(exception)
#define | GDBSCM_HANDLE_GDB_EXCEPTION_WITH_CLEANUPS(exception, cleanups)

## Typedefs
typedef int | excp_matcher_func(SCM key)
typedef struct _chained_gdb_smob | chained_gdb_smob
typedef struct _eqable_gdb_smob | eqable_gdb_smob
typedef int() | gsmob_pred_func(SCM)
typedef struct _arch_smob | arch_smob
typedef struct _frame_smob | frame_smob
typedef struct _iterator_smob | iterator_smob
typedef struct _objfile_smob | objfile_smob
typedef struct _pspace_smob | pspace_smob
typedef struct _type_smob | type_smob

## Functions
static scm_t_subr | as_a_scm_t_subr (SCM(*func)(void))
static scm_t_subr | as_a_scm_t_subr (SCM(*func)(SCM))
static scm_t_subr | as_a_scm_t_subr (SCM(*func)(SCM, SCM))
static scm_t_subr | as_a_scm_t_subr (SCM(*func)(SCM, SCM, SCM))
static SCM | scm_new_smob (scm_t_bits tc, scm_t_bits data)
void | gdbscm_define_variables (const scheme_variable *, int is_public)
void | gdbscm_define_functions (const scheme_function *, int is_public)
void | gdbscm_define_integer_constants (const scheme_integer_constant *, int is_public)
void | gdbscm_printf (SCM port, const char *format,...) ATTRIBUTE_PRINTF(2
void void | gdbscm_debug_display (SCM obj)
void | gdbscm_debug_write (SCM obj)
void | gdbscm_parse_function_args (const char *function_name, int beginning_arg_pos, const SCM *keywords, const char *format,...)
SCM | gdbscm_scm_from_longest (LONGEST l)
LONGEST | gdbscm_scm_to_longest (SCM l)
SCM | gdbscm_scm_from_ulongest (ULONGEST l)
ULONGEST | gdbscm_scm_to_ulongest (SCM u)
void | gdbscm_dynwind_xfree (void *ptr)
int | gdbscm_is_procedure (SCM proc)
char * | gdbscm_gc_xstrdup (const char *)
const char *const * | gdbscm_gc_dup_argv (char **argv)
int | gdbscm_guile_version_is_at_least (int major, int minor, int micro)
scm_t_bits | gdbscm_make_smob_type (const char *name, size_t size)
void | gdbscm_init_gsmob (gdb_smob *base)
void | gdbscm_init_chained_gsmob (chained_gdb_smob *base)
void | gdbscm_init_eqable_gsmob (eqable_gdb_smob *base, SCM containing_scm)
void | gdbscm_add_objfile_ref (struct objfile *objfile, const struct objfile_data *data_key, chained_gdb_smob *g_smob)
void | gdbscm_remove_objfile_ref (struct objfile *objfile, const struct objfile_data *data_key, chained_gdb_smob *g_smob)
htab_t | gdbscm_create_eqable_gsmob_ptr_map (htab_hash hash_fn, htab_eq eq_fn)
eqable_gdb_smob ** | gdbscm_find_eqable_gsmob_ptr_slot (htab_t htab, eqable_gdb_smob *base)
void | gdbscm_fill_eqable_gsmob_ptr_slot (eqable_gdb_smob **slot, eqable_gdb_smob *base)
void | gdbscm_clear_eqable_gsmob_ptr_slot (htab_t htab, eqable_gdb_smob *base)
SCM | gdbscm_make_exception (SCM tag, SCM args)
int | gdbscm_is_exception (SCM scm)
SCM | gdbscm_exception_key (SCM excp)
SCM | gdbscm_exception_args (SCM excp)
SCM | gdbscm_make_exception_with_stack (SCM key, SCM args, SCM stack)
SCM | gdbscm_make_error_scm (SCM key, SCM subr, SCM message, SCM args, SCM data)
SCM | gdbscm_make_error (SCM key, const char *subr, const char *message, SCM args, SCM data)
SCM | gdbscm_make_type_error (const char *subr, int arg_pos, SCM bad_value, const char *expected_type)
SCM | gdbscm_make_invalid_object_error (const char *subr, int arg_pos, SCM bad_value, const char *error)
void | gdbscm_invalid_object_error (const char *subr, int arg_pos, SCM bad_value, const char *error) ATTRIBUTE_NORETURN
SCM | gdbscm_make_out_of_range_error (const char *subr, int arg_pos, SCM bad_value, const char *error)
void | gdbscm_out_of_range_error (const char *subr, int arg_pos, SCM bad_value, const char *error) ATTRIBUTE_NORETURN
SCM | gdbscm_make_misc_error (const char *subr, int arg_pos, SCM bad_value, const char *error)
void | gdbscm_misc_error (const char *subr, int arg_pos, SCM bad_value, const char *error) ATTRIBUTE_NORETURN
void | gdbscm_throw (SCM exception) ATTRIBUTE_NORETURN
SCM | gdbscm_scm_from_gdb_exception (struct gdb_exception exception)
void | gdbscm_throw_gdb_exception (struct gdb_exception exception) ATTRIBUTE_NORETURN
void | gdbscm_print_exception_with_stack (SCM port, SCM stack, SCM key, SCM args)
void | gdbscm_print_gdb_exception (SCM port, SCM exception)
char * | gdbscm_exception_message_to_string (SCM exception)
SCM | gdbscm_make_memory_error (const char *subr, const char *msg, SCM args)
void | gdbscm_memory_error (const char *subr, const char *msg, SCM args) ATTRIBUTE_NORETURN
const char * | gdbscm_with_guile (const char *(*func)(void *), void *data)
SCM | gdbscm_call_guile (SCM(*func)(void *), void *data, excp_matcher_func *ok_excps)
SCM | gdbscm_safe_call_0 (SCM proc, excp_matcher_func *ok_excps)
SCM | gdbscm_safe_call_1 (SCM proc, SCM arg0, excp_matcher_func *ok_excps)
SCM | gdbscm_safe_call_2 (SCM proc, SCM arg0, SCM arg1, excp_matcher_func *ok_excps)
SCM | gdbscm_safe_call_3 (SCM proc, SCM arg0, SCM arg1, SCM arg2, excp_matcher_func *ok_excps)
SCM | gdbscm_safe_call_4 (SCM proc, SCM arg0, SCM arg1, SCM arg2, SCM arg3, excp_matcher_func *ok_excps)
SCM | gdbscm_safe_apply_1 (SCM proc, SCM arg0, SCM args, excp_matcher_func *ok_excps)
SCM | gdbscm_unsafe_call_1 (SCM proc, SCM arg0)
char * | gdbscm_safe_eval_string (const char *string, int display_result)
char * | gdbscm_safe_source_script (const char *filename)
void | gdbscm_enter_repl (void)
struct gdbarch * | arscm_get_gdbarch (arch_smob *a_smob)
arch_smob * | arscm_get_arch_smob_arg_unsafe (SCM arch_scm, int arg_pos, const char *func_name)
SCM | arscm_scm_from_arch (struct gdbarch *gdbarch)
SCM | bkscm_scm_from_block (const struct block *block, struct objfile *objfile)
const struct block * | bkscm_scm_to_block (SCM block_scm, int arg_pos, const char *func_name, SCM *excp)
char * | gdbscm_parse_command_name (const char *name, const char *func_name, int arg_pos, struct cmd_list_element ***base_list, struct cmd_list_element **start_list)
int | gdbscm_valid_command_class_p (int command_class)
char * | gdbscm_canonicalize_command_name (const char *name, int want_trailing_space)
int | frscm_is_frame (SCM scm)
frame_smob * | frscm_get_frame_smob_arg_unsafe (SCM frame_scm, int arg_pos, const char *func_name)
struct frame_info * | frscm_frame_smob_to_frame (frame_smob *)
SCM | itscm_iterator_smob_object (iterator_smob *i_smob)
SCM | itscm_iterator_smob_progress (iterator_smob *i_smob)
void | itscm_set_iterator_smob_progress_x (iterator_smob *i_smob, SCM progress)
const char * | itscm_iterator_smob_name (void)
SCM | gdbscm_make_iterator (SCM object, SCM progress, SCM next)
int | itscm_is_iterator (SCM scm)
SCM | gdbscm_end_of_iteration (void)
int | itscm_is_end_of_iteration (SCM obj)
SCM | itscm_safe_call_next_x (SCM iter, excp_matcher_func *ok_excps)
SCM | itscm_get_iterator_arg_unsafe (SCM self, int arg_pos, const char *func_name)
int | lsscm_is_lazy_string (SCM scm)
SCM | lsscm_make_lazy_string (CORE_ADDR address, int length, const char *encoding, struct type *type)
struct value * | lsscm_safe_lazy_string_to_value (SCM string, int arg_pos, const char *func_name, SCM *except_scmp)
void | lsscm_val_print_lazy_string (SCM string, struct ui_file *stream, const struct value_print_options *options)
SCM | ofscm_objfile_smob_pretty_printers (objfile_smob *o_smob)
objfile_smob * | ofscm_objfile_smob_from_objfile (struct objfile *objfile)
SCM | ofscm_scm_from_objfile (struct objfile *objfile)
SCM | psscm_pspace_smob_pretty_printers (const pspace_smob *)
pspace_smob * | psscm_pspace_smob_from_pspace (struct program_space *)
SCM | psscm_scm_from_pspace (struct program_space *)
int | gdbscm_scm_string_to_int (SCM string)
char * | gdbscm_scm_to_c_string (SCM string)
SCM | gdbscm_scm_from_c_string (const char *string)
SCM | gdbscm_scm_from_printf (const char *format,...) ATTRIBUTE_PRINTF(1
SCM char * | gdbscm_scm_to_string (SCM string, size_t *lenp, const char *charset, int strict, SCM *except_scmp)
SCM | gdbscm_scm_from_string (const char *string, size_t len, const char *charset, int strict)
char * | gdbscm_scm_to_host_string (SCM string, size_t *lenp, SCM *except)
SCM | gdbscm_scm_from_host_string (const char *string, size_t len)
int | syscm_is_symbol (SCM scm)
SCM | syscm_scm_from_symbol (struct symbol *symbol)
struct symbol * | syscm_get_valid_symbol_arg_unsafe (SCM self, int arg_pos, const char *func_name)
SCM | stscm_scm_from_symtab (struct symtab *symtab)
SCM | stscm_scm_from_sal (struct symtab_and_line sal)
int | tyscm_is_type (SCM scm)
SCM | tyscm_scm_from_type (struct type *type)
type_smob * | tyscm_get_type_smob_arg_unsafe (SCM type_scm, int arg_pos, const char *func_name)
struct type * | tyscm_scm_to_type (SCM t_scm)
struct type * | tyscm_type_smob_type (type_smob *t_smob)
SCM | tyscm_scm_from_field (SCM type_scm, int field_num)
struct value * | vlscm_scm_to_value (SCM scm)
int | vlscm_is_value (SCM scm)
SCM | vlscm_scm_from_value (struct value *value)
SCM | vlscm_scm_from_value_unsafe (struct value *value)
struct value * | vlscm_convert_typed_value_from_scheme (const char *func_name, int obj_arg_pos, SCM obj, int type_arg_pos, SCM type_scm, struct type *type, SCM *except_scmp, struct gdbarch *gdbarch, const struct language_defn *language)
struct value * | vlscm_convert_value_from_scheme (const char *func_name, int obj_arg_pos, SCM obj, SCM *except_scmp, struct gdbarch *gdbarch, const struct language_defn *language)
int | gdbscm_auto_load_enabled (const struct extension_language_defn *)
void | gdbscm_preserve_values (const struct extension_language_defn *, struct objfile *, htab_t copied_types)
enum ext_lang_rc | gdbscm_apply_val_pretty_printer (const struct extension_language_defn *, struct type *type, LONGEST embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *val, const struct value_print_options *options, const struct language_defn *language)
int | gdbscm_breakpoint_has_cond (const struct extension_language_defn *, struct breakpoint *b)
enum ext_lang_bp_stop | gdbscm_breakpoint_cond_says_stop (const struct extension_language_defn *, struct breakpoint *b)
void | gdbscm_initialize_arches (void)
void | gdbscm_initialize_auto_load (void)
void | gdbscm_initialize_blocks (void)
void | gdbscm_initialize_breakpoints (void)
void | gdbscm_initialize_commands (void)
void | gdbscm_initialize_disasm (void)
void | gdbscm_initialize_exceptions (void)
void | gdbscm_initialize_frames (void)
void | gdbscm_initialize_iterators (void)
void | gdbscm_initialize_lazy_strings (void)
void | gdbscm_initialize_math (void)
void | gdbscm_initialize_objfiles (void)
void | gdbscm_initialize_pretty_printers (void)
void | gdbscm_initialize_parameters (void)
void | gdbscm_initialize_ports (void)
void | gdbscm_initialize_pspaces (void)
void | gdbscm_initialize_smobs (void)
void | gdbscm_initialize_strings (void)
void | gdbscm_initialize_symbols (void)
void | gdbscm_initialize_symtabs (void)
void | gdbscm_initialize_types (void)
void | gdbscm_initialize_values (void)

## Variables
const char | gdbscm_module_name []
const char | gdbscm_init_module_name []
int | gdb_scheme_initialized
int | gdbscm_guile_major_version
int | gdbscm_guile_minor_version
int | gdbscm_guile_micro_version
const char | gdbscm_print_excp_none []
const char | gdbscm_print_excp_full []
const char | gdbscm_print_excp_message []
const char * | gdbscm_print_excp
SCM | gdbscm_documentation_symbol
SCM | gdbscm_invalid_object_error_symbol
SCM | gdbscm_map_string
SCM | gdbscm_array_string
SCM | gdbscm_string_string
excp_matcher_func | gdbscm_memory_error_p
excp_matcher_func | gdbscm_user_error_p
objfile_script_sourcer_func | gdbscm_source_objfile_script
objfile_script_executor_func | gdbscm_execute_objfile_script

## Macro Definition Documentation

## ◆ END_FUNCTIONS

#define END_FUNCTIONS { NULL, 0, 0, 0, NULL, NULL }

Definition at line 103 of file guile-internal.h.

## ◆ END_INTEGER_CONSTANTS

#define END_INTEGER_CONSTANTS { NULL, 0 }

Definition at line 113 of file guile-internal.h.

## ◆ END_VARIABLES

#define END_VARIABLES { NULL, SCM_BOOL_F, NULL }

Definition at line 51 of file guile-internal.h.

## ◆ FUNC_NAME

#define FUNC_NAME __func__

Definition at line 153 of file guile-internal.h.

Referenced by compute_enum_list(), gdbscm_arch_bool_type(), gdbscm_arch_char_type(), gdbscm_arch_charset(), gdbscm_arch_disassemble(), gdbscm_arch_double_type(), gdbscm_arch_float_type(), gdbscm_arch_int16_type(), gdbscm_arch_int32_type(), gdbscm_arch_int64_type(), gdbscm_arch_int8_type(), gdbscm_arch_int_type(), gdbscm_arch_long_type(), gdbscm_arch_longdouble_type(), gdbscm_arch_longlong_type(), gdbscm_arch_name(), gdbscm_arch_schar_type(), gdbscm_arch_short_type(), gdbscm_arch_uchar_type(), gdbscm_arch_uint16_type(), gdbscm_arch_uint32_type(), gdbscm_arch_uint64_type(), gdbscm_arch_uint8_type(), gdbscm_arch_uint_type(), gdbscm_arch_ulong_type(), gdbscm_arch_ulonglong_type(), gdbscm_arch_ushort_type(), gdbscm_arch_void_type(), gdbscm_arch_wide_charset(), gdbscm_block_end(), gdbscm_block_function(), gdbscm_block_global_block(), gdbscm_block_global_p(), gdbscm_block_next_symbol_x(), gdbscm_block_start(), gdbscm_block_static_block(), gdbscm_block_static_p(), gdbscm_block_superblock(), gdbscm_block_symbols(), gdbscm_block_valid_p(), gdbscm_breakpoint_commands(), gdbscm_breakpoint_condition(), gdbscm_breakpoint_enabled_p(), gdbscm_breakpoint_expression(), gdbscm_breakpoint_hit_count(), gdbscm_breakpoint_ignore_count(), gdbscm_breakpoint_location(), gdbscm_breakpoint_number(), gdbscm_breakpoint_silent_p(), gdbscm_breakpoint_stop(), gdbscm_breakpoint_task(), gdbscm_breakpoint_thread(), gdbscm_breakpoint_type(), gdbscm_breakpoint_valid_p(), gdbscm_breakpoint_visible(), gdbscm_canonicalize_command_name(), gdbscm_command_valid_p(), gdbscm_delete_breakpoint_x(), gdbscm_dont_repeat(), gdbscm_exception_args(), gdbscm_exception_key(), gdbscm_field_artificial_p(), gdbscm_field_baseclass_p(), gdbscm_field_bitpos(), gdbscm_field_bitsize(), gdbscm_field_enumval(), gdbscm_field_name(), gdbscm_field_type(), gdbscm_find_pc_line(), gdbscm_frame_arch(), gdbscm_frame_block(), gdbscm_frame_function(), gdbscm_frame_name(), gdbscm_frame_newer(), gdbscm_frame_older(), gdbscm_frame_pc(), gdbscm_frame_read_register(), gdbscm_frame_read_var(), gdbscm_frame_sal(), gdbscm_frame_select(), gdbscm_frame_type(), gdbscm_frame_unwind_stop_reason(), gdbscm_frame_valid_p(), gdbscm_gsmob_kind(), gdbscm_history_append_x(), gdbscm_history_ref(), gdbscm_iterator_next_x(), gdbscm_iterator_object(), gdbscm_iterator_progress(), gdbscm_lazy_string_address(), gdbscm_lazy_string_encoding(), gdbscm_lazy_string_length(), gdbscm_lazy_string_to_value(), gdbscm_lazy_string_type(), gdbscm_lookup_block(), gdbscm_lookup_global_symbol(), gdbscm_lookup_symbol(), gdbscm_lookup_type(), gdbscm_make_block_syms_iter(), gdbscm_make_breakpoint(), gdbscm_make_command(), gdbscm_make_field_iterator(), gdbscm_make_iterator(), gdbscm_make_lazy_value(), gdbscm_make_parameter(), gdbscm_make_pretty_printer(), gdbscm_make_value(), gdbscm_memory_port_end_input(), gdbscm_memory_port_fill_input(), gdbscm_memory_port_flush(), gdbscm_memory_port_range(), gdbscm_memory_port_read_buffer_size(), gdbscm_memory_port_seek(), gdbscm_memory_port_write(), gdbscm_memory_port_write_buffer_size(), gdbscm_objfile_filename(), gdbscm_objfile_pretty_printers(), gdbscm_objfile_progspace(), gdbscm_objfile_valid_p(), gdbscm_open_memory(), gdbscm_parameter_value(), gdbscm_parse_and_eval(), gdbscm_percent_with_gdb_error_to_port(), gdbscm_percent_with_gdb_output_to_port(), gdbscm_pretty_printer_enabled_p(), gdbscm_progspace_filename(), gdbscm_progspace_objfiles(), gdbscm_progspace_pretty_printers(), gdbscm_progspace_valid_p(), gdbscm_register_breakpoint_x(), gdbscm_register_command_x(), gdbscm_register_parameter_x(), gdbscm_sal_last(), gdbscm_sal_line(), gdbscm_sal_pc(), gdbscm_sal_symtab(), gdbscm_sal_valid_p(), gdbscm_set_breakpoint_condition_x(), gdbscm_set_breakpoint_enabled_x(), gdbscm_set_breakpoint_hit_count_x(), gdbscm_set_breakpoint_ignore_count_x(), gdbscm_set_breakpoint_silent_x(), gdbscm_set_breakpoint_stop_x(), gdbscm_set_breakpoint_task_x(), gdbscm_set_breakpoint_thread_x(), gdbscm_set_iterator_progress_x(), gdbscm_set_memory_port_read_buffer_size_x(), gdbscm_set_memory_port_write_buffer_size_x(), gdbscm_set_objfile_pretty_printers_x(), gdbscm_set_parameter_value_x(), gdbscm_set_pretty_printer_enabled_x(), gdbscm_set_pretty_printers_x(), gdbscm_set_progspace_pretty_printers_x(), gdbscm_string_to_argv(), gdbscm_symbol_addr_class(), gdbscm_symbol_argument_p(), gdbscm_symbol_constant_p(), gdbscm_symbol_function_p(), gdbscm_symbol_line(), gdbscm_symbol_linkage_name(), gdbscm_symbol_name(), gdbscm_symbol_needs_frame_p(), gdbscm_symbol_print_name(), gdbscm_symbol_symtab(), gdbscm_symbol_type(), gdbscm_symbol_valid_p(), gdbscm_symbol_value(), gdbscm_symbol_variable_p(), gdbscm_symtab_filename(), gdbscm_symtab_fullname(), gdbscm_symtab_global_block(), gdbscm_symtab_objfile(), gdbscm_symtab_static_block(), gdbscm_symtab_valid_p(), gdbscm_type_array(), gdbscm_type_code(), gdbscm_type_const(), gdbscm_type_field(), gdbscm_type_fields(), gdbscm_type_has_field_p(), gdbscm_type_name(), gdbscm_type_next_field_x(), gdbscm_type_num_fields(), gdbscm_type_pointer(), gdbscm_type_print_name(), gdbscm_type_range(), gdbscm_type_reference(), gdbscm_type_sizeof(), gdbscm_type_strip_typedefs(), gdbscm_type_tag(), gdbscm_type_target(), gdbscm_type_unqualified(), gdbscm_type_vector(), gdbscm_type_volatile(), gdbscm_unwind_stop_reason_string(), gdbscm_value_abs(), gdbscm_value_add(), gdbscm_value_address(), gdbscm_value_call(), gdbscm_value_cast(), gdbscm_value_dereference(), gdbscm_value_div(), gdbscm_value_dynamic_cast(), gdbscm_value_dynamic_type(), gdbscm_value_eq_p(), gdbscm_value_fetch_lazy_x(), gdbscm_value_field(), gdbscm_value_ge_p(), gdbscm_value_gt_p(), gdbscm_value_lazy_p(), gdbscm_value_le_p(), gdbscm_value_logand(), gdbscm_value_logior(), gdbscm_value_lognot(), gdbscm_value_logxor(), gdbscm_value_lsh(), gdbscm_value_lt_p(), gdbscm_value_max(), gdbscm_value_min(), gdbscm_value_mod(), gdbscm_value_mul(), gdbscm_value_neg(), gdbscm_value_not(), gdbscm_value_optimized_out_p(), gdbscm_value_pos(), gdbscm_value_pow(), gdbscm_value_print(), gdbscm_value_referenced_value(), gdbscm_value_reinterpret_cast(), gdbscm_value_rem(), gdbscm_value_rsh(), gdbscm_value_sub(), gdbscm_value_subscript(), gdbscm_value_to_bool(), gdbscm_value_to_bytevector(), gdbscm_value_to_integer(), gdbscm_value_to_lazy_string(), gdbscm_value_to_real(), gdbscm_value_to_string(), gdbscm_value_type(), ioscm_fill_input(), ioscm_input_waiting(), ppscm_pretty_print_one_value(), ppscm_print_children(), tyscm_equal_p_type_smob(), and vlscm_do_cast().

## ◆ GDB_SMOB_HEAD

#define GDB_SMOB_HEAD int empty_base_class;

Definition at line 238 of file guile-internal.h.

## ◆ GDBSCM_ARG_NONE

#define GDBSCM_ARG_NONE 0

Definition at line 117 of file guile-internal.h.

Referenced by gdbscm_make_parameter(), gdbscm_value_call(), pascm_print_param_smob(), ppscm_pretty_print_one_value(), and ppscm_print_children().

## ◆ GDBSCM_HANDLE_GDB_EXCEPTION

#define GDBSCM_HANDLE_GDB_EXCEPTION | ( |  | exception | ) |

Value:
do { \
if (exception.reason < 0) \
{ \
gdbscm_throw_gdb_exception (exception); \
/*NOTREACHED */ \
} \
} while (0)

Definition at line 643 of file guile-internal.h.

Referenced by gdbscm_arch_disassemble(), gdbscm_delete_breakpoint_x(), gdbscm_find_pc_line(), gdbscm_frame_arch(), gdbscm_frame_block(), gdbscm_frame_function(), gdbscm_frame_name(), gdbscm_frame_newer(), gdbscm_frame_older(), gdbscm_frame_pc(), gdbscm_frame_read_register(), gdbscm_frame_read_var(), gdbscm_frame_sal(), gdbscm_frame_select(), gdbscm_frame_type(), gdbscm_frame_unwind_stop_reason(), gdbscm_frame_valid_p(), gdbscm_history_append_x(), gdbscm_history_ref(), gdbscm_lookup_block(), gdbscm_lookup_global_symbol(), gdbscm_lookup_symbol(), gdbscm_newest_frame(), gdbscm_parameter_value(), gdbscm_register_breakpoint_x(), gdbscm_register_command_x(), gdbscm_register_parameter_x(), gdbscm_selected_frame(), gdbscm_set_breakpoint_condition_x(), gdbscm_set_breakpoint_enabled_x(), gdbscm_set_breakpoint_ignore_count_x(), gdbscm_set_breakpoint_silent_x(), gdbscm_set_breakpoint_task_x(), gdbscm_symbol_needs_frame_p(), gdbscm_symbol_value(), gdbscm_type_const(), gdbscm_type_pointer(), gdbscm_type_reference(), gdbscm_type_strip_typedefs(), gdbscm_type_unqualified(), gdbscm_type_volatile(), gdbscm_value_call(), gdbscm_value_dynamic_type(), gdbscm_value_fetch_lazy_x(), gdbscm_value_optimized_out_p(), gdbscm_value_print(), gdbscm_value_to_bool(), gdbscm_value_to_bytevector(), gdbscm_value_to_integer(), gdbscm_value_to_lazy_string(), gdbscm_value_to_real(), ioscm_write(), tyscm_array_1(), tyscm_equal_p_type_smob(), tyscm_get_composite(), vlscm_equal_p_value_smob(), vlscm_print_value_smob(), and vlscm_rich_compare().

## ◆ GDBSCM_HANDLE_GDB_EXCEPTION_WITH_CLEANUPS

#define GDBSCM_HANDLE_GDB_EXCEPTION_WITH_CLEANUPS | ( |  | exception,
|  |  | cleanups
| ) |  |

Value:
do { \
if (exception.reason < 0) \
{ \
do_cleanups (cleanups); \
gdbscm_throw_gdb_exception (exception); \
/*NOTREACHED */ \
} \
} while (0)

Definition at line 654 of file guile-internal.h.

Referenced by gdbscm_lookup_symbol(), gdbscm_make_lazy_value(), gdbscm_parse_and_eval(), gdbscm_value_dereference(), gdbscm_value_field(), gdbscm_value_referenced_value(), gdbscm_value_subscript(), gdbscm_value_to_string(), vlscm_binop(), vlscm_do_cast(), and vlscm_unop().

## ◆ gdbscm_is_bool

#define gdbscm_is_bool | ( |  | scm | ) | (scm_is_eq ((scm), SCM_BOOL_F) || scm_is_eq ((scm), SCM_BOOL_T))

Definition at line 131 of file guile-internal.h.

Referenced by extract_arg(), gdbscm_set_breakpoint_enabled_x(), gdbscm_set_breakpoint_silent_x(), pascm_set_param_value_x(), and vlscm_convert_typed_value_from_scheme().

## ◆ gdbscm_is_false

#define gdbscm_is_false | ( |  | scm | ) | scm_is_eq ((scm), SCM_BOOL_F)

Definition at line 133 of file guile-internal.h.

Referenced by bpscm_breakpoint_created(), gdbscm_apply_val_pretty_printer(), gdbscm_arch_disassemble(), gdbscm_breakpoint_cond_says_stop(), gdbscm_make_command(), gdbscm_parse_function_args(), gdbscm_print_exception_message(), gdbscm_print_exception_with_stack(), gdbscm_scm_from_string(), gdbscm_scm_to_string(), gdbscm_set_breakpoint_condition_x(), gdbscm_set_breakpoint_stop_x(), gdbscm_set_breakpoint_task_x(), gdbscm_set_breakpoint_thread_x(), gdbscm_symbol_value(), pascm_set_param_value_x(), ppscm_get_display_hint_enum(), ppscm_pretty_print_one_value(), ppscm_print_children(), ppscm_print_string_repr(), ppscm_search_pp_list(), and stscm_sal_is_valid().

## ◆ gdbscm_is_true

#define gdbscm_is_true | ( |  | scm | ) | (!gdbscm_is_false (scm))

Definition at line 134 of file guile-internal.h.

Referenced by cmdscm_completer(), compute_enum_list(), extract_arg(), gdbscm_arch_disassemble(), gdbscm_is_procedure(), gdbscm_make_command(), gdbscm_register_command_x(), gdbscm_set_breakpoint_enabled_x(), gdbscm_set_breakpoint_silent_x(), gdbscm_set_objfile_pretty_printers_x(), gdbscm_set_pretty_printer_enabled_x(), gdbscm_set_pretty_printers_x(), gdbscm_set_progspace_pretty_printers_x(), gdbscm_value_call(), ioscm_with_output_to_port_worker(), pascm_set_param_value_x(), ppscm_find_pretty_printer(), ppscm_find_pretty_printer_from_objfiles(), ppscm_get_display_hint_enum(), ppscm_print_pretty_printer_smob(), scscm_recording_unwind_handler(), and vlscm_convert_typed_value_from_scheme().

## ◆ scm_is_bool

#define scm_is_bool USE_gdbscm_is_bool_INSTEAD

Definition at line 128 of file guile-internal.h.

## ◆ scm_is_false

#define scm_is_false USE_gdbscm_is_false_INSTEAD

Definition at line 129 of file guile-internal.h.

## ◆ scm_is_true

#define scm_is_true USE_gdbscm_is_true_INSTEAD

Definition at line 130 of file guile-internal.h.

## ◆ scm_make_smob_type

#define scm_make_smob_type USE_gdbscm_make_smob_type_INSTEAD

Definition at line 121 of file guile-internal.h.

Referenced by gdbscm_make_smob_type().

## Typedef Documentation

## ◆ arch_smob

typedef struct _arch_smob arch_smob

Definition at line 414 of file guile-internal.h.

## ◆ chained_gdb_smob

typedef struct _chained_gdb_smob chained_gdb_smob

## ◆ eqable_gdb_smob

typedef struct _eqable_gdb_smob eqable_gdb_smob

## ◆ excp_matcher_func

typedef int excp_matcher_func(SCM key)

Definition at line 38 of file guile-internal.h.

## ◆ frame_smob

typedef struct _frame_smob frame_smob

Definition at line 445 of file guile-internal.h.

## ◆ gsmob_pred_func

typedef int() gsmob_pred_func(SCM)

Definition at line 278 of file guile-internal.h.

## ◆ iterator_smob

typedef struct _iterator_smob iterator_smob

Definition at line 456 of file guile-internal.h.

## ◆ objfile_smob

typedef struct _objfile_smob objfile_smob

Definition at line 498 of file guile-internal.h.

## ◆ pspace_smob

typedef struct _pspace_smob pspace_smob

Definition at line 508 of file guile-internal.h.

## ◆ type_smob

typedef struct _type_smob type_smob

Definition at line 555 of file guile-internal.h.

## Function Documentation

## ◆ arscm_get_arch_smob_arg_unsafe()

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

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

References arscm_get_arch_arg_unsafe().

Referenced by gdbscm_arch_builtin_type(), gdbscm_arch_charset(), gdbscm_arch_disassemble(), gdbscm_arch_name(), and gdbscm_arch_wide_charset().

## ◆ arscm_get_gdbarch()

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

## ◆ arscm_scm_from_arch()

SCM arscm_scm_from_arch | ( | struct gdbarch * | gdbarch | ) |

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

References arch_object_data.

Referenced by gdbscm_current_arch(), and gdbscm_frame_arch().

## ◆ as_a_scm_t_subr() [1/4]

static scm_t_subr as_a_scm_t_subr | ( | SCM(*)(void) | func | ) |
| inline static

Definition at line 66 of file guile-internal.h.

References func.

Referenced by gdbscm_initialize_blocks(), and gdbscm_initialize_types().

## ◆ as_a_scm_t_subr() [2/4]

static scm_t_subr as_a_scm_t_subr | ( | SCM(*)(SCM) | func | ) |
| inline static

Definition at line 72 of file guile-internal.h.

References func.

## ◆ as_a_scm_t_subr() [3/4]

static scm_t_subr as_a_scm_t_subr | ( | SCM(*)(SCM, SCM) | func | ) |
| inline static

Definition at line 78 of file guile-internal.h.

References func.

## ◆ as_a_scm_t_subr() [4/4]

static scm_t_subr as_a_scm_t_subr | ( | SCM(*)(SCM, SCM, SCM) | func | ) |
| inline static

Definition at line 84 of file guile-internal.h.

References func.

## ◆ bkscm_scm_from_block()

SCM bkscm_scm_from_block | ( | const struct block * | block,
|  | struct objfile * | objfile
| ) |  |

Definition at line 210 of file scm-block.c.

References _block_smob::base, bkscm_make_block_smob(), bkscm_objfile_block_map(), _block_smob::block, gdbscm_fill_eqable_gsmob_ptr_slot(), gdbscm_find_eqable_gsmob_ptr_slot(), and _block_smob::objfile.

Referenced by gdbscm_block_global_block(), gdbscm_block_static_block(), gdbscm_block_superblock(), gdbscm_frame_block(), gdbscm_lookup_block(), gdbscm_symtab_global_block(), and gdbscm_symtab_static_block().

## ◆ bkscm_scm_to_block()

const struct block* bkscm_scm_to_block | ( | SCM | block_scm,
|  | int | arg_pos,
|  | const char * | func_name,
|  | SCM * | excp
| ) |  |

Definition at line 317 of file scm-block.c.

References bkscm_get_valid_block(), and _block_smob::block.

Referenced by gdbscm_frame_read_var(), gdbscm_lookup_symbol(), and gdbscm_lookup_type().

## ◆ frscm_frame_smob_to_frame()

struct frame_info* frscm_frame_smob_to_frame | ( | frame_smob * |  | ) |

Definition at line 342 of file scm-frame.c.

References frame_find_by_id(), _frame_smob::frame_id, _frame_smob::frame_id_is_next, and get_prev_frame().

Referenced by gdbscm_frame_arch(), gdbscm_frame_block(), gdbscm_frame_function(), gdbscm_frame_name(), gdbscm_frame_newer(), gdbscm_frame_older(), gdbscm_frame_pc(), gdbscm_frame_read_register(), gdbscm_frame_read_var(), gdbscm_frame_sal(), gdbscm_frame_select(), gdbscm_frame_type(), gdbscm_frame_unwind_stop_reason(), gdbscm_frame_valid_p(), and gdbscm_symbol_value().

## ◆ frscm_get_frame_smob_arg_unsafe()

frame_smob* frscm_get_frame_smob_arg_unsafe | ( | SCM | frame_scm,
|  | int | arg_pos,
|  | const char * | func_name
| ) |  |

Definition at line 319 of file scm-frame.c.

References _, current_inferior(), frscm_get_frame_arg_unsafe(), gdbscm_invalid_object_error(), and _frame_smob::inferior.

Referenced by gdbscm_frame_arch(), gdbscm_frame_block(), gdbscm_frame_function(), gdbscm_frame_name(), gdbscm_frame_newer(), gdbscm_frame_older(), gdbscm_frame_pc(), gdbscm_frame_read_register(), gdbscm_frame_read_var(), gdbscm_frame_sal(), gdbscm_frame_select(), gdbscm_frame_type(), gdbscm_frame_unwind_stop_reason(), gdbscm_frame_valid_p(), and gdbscm_symbol_value().

## ◆ frscm_is_frame()

int frscm_is_frame | ( | SCM | scm | ) |

Definition at line 196 of file scm-frame.c.

References frame_smob_tag.

Referenced by frscm_get_frame_arg_unsafe(), and gdbscm_frame_p().

## ◆ gdbscm_add_objfile_ref()

void gdbscm_add_objfile_ref | ( | struct objfile * | objfile,
|  | const struct objfile_data * | data_key,
|  | chained_gdb_smob * | g_smob
| ) |  |

Definition at line 189 of file scm-gsmob.c.

References _chained_gdb_smob::next, and _chained_gdb_smob::prev.

## ◆ gdbscm_apply_val_pretty_printer()

enum ext_lang_rc gdbscm_apply_val_pretty_printer | ( | const struct extension_language_defn * | ,
|  | struct type * | type,
|  | LONGEST | embedded_offset,
|  | CORE_ADDR | address,
|  | struct ui_file * | stream,
|  | int | recurse,
|  | struct value * | val,
|  | const struct value_print_options * | options,
|  | const struct language_defn * | language
| ) |  |

Definition at line 956 of file scm-pretty-print.c.

References do_cleanups(), EXT_LANG_RC_ERROR, EXT_LANG_RC_NOP, EXT_LANG_RC_OK, gdb_assert, gdb_scheme_initialized, gdbscm_is_exception(), gdbscm_is_false, get_type_arch(), HINT_ERROR, HINT_NONE, make_cleanup(), null_cleanup(), ppscm_find_pretty_printer(), ppscm_get_display_hint_enum(), ppscm_get_display_hint_scm(), ppscm_is_pretty_printer_worker(), ppscm_print_children(), ppscm_print_exception_unless_memory_error(), ppscm_print_pp_type_error(), ppscm_print_string_repr(), STRING_REPR_ERROR, STRING_REPR_NONE, TYPE_LENGTH, value_bytes_available(), value_contents_for_printing(), value_from_component(), and vlscm_scm_from_value().

## ◆ gdbscm_auto_load_enabled()

int gdbscm_auto_load_enabled | ( | const struct extension_language_defn * |  | ) |

Definition at line 48 of file scm-auto-load.c.

References auto_load_guile_scripts.

## ◆ gdbscm_breakpoint_cond_says_stop()

enum ext_lang_bp_stop gdbscm_breakpoint_cond_says_stop | ( | const struct extension_language_defn * | ,
|  | struct breakpoint * | b
| ) |  |

Definition at line 1064 of file scm-breakpoint.c.

References gdbscm_breakpoint_object::containing_scm, EXT_LANG_BP_STOP_NO, EXT_LANG_BP_STOP_UNSET, EXT_LANG_BP_STOP_YES, gdbscm_is_exception(), gdbscm_is_false, gdbscm_is_procedure(), gdbscm_safe_call_1(), breakpoint::scm_bp_object, and gdbscm_breakpoint_object::stop.

## ◆ gdbscm_breakpoint_has_cond()

int gdbscm_breakpoint_has_cond | ( | const struct extension_language_defn * | ,
|  | struct breakpoint * | b
| ) |  |

Definition at line 1043 of file scm-breakpoint.c.

References gdbscm_is_procedure(), breakpoint::scm_bp_object, and gdbscm_breakpoint_object::stop.

## ◆ gdbscm_call_guile()

SCM gdbscm_call_guile | ( | SCM(*)(void *) | func,
|  | void * | data,
|  | excp_matcher_func * | ok_excps
| ) |  |

Definition at line 200 of file scm-safe-call.c.

References with_catch_data::catch_result, with_catch_data::data, with_catch_data::excp_matcher, with_catch_data::func, func, gdbscm_with_catch(), with_catch_data::pre_unwind_handler, scscm_recording_pre_unwind_handler(), scscm_recording_unwind_handler(), with_catch_data::stack, and with_catch_data::unwind_handler.

Referenced by gdbscm_safe_apply_1(), gdbscm_safe_call_0(), gdbscm_safe_call_1(), gdbscm_safe_call_2(), gdbscm_safe_call_3(), gdbscm_safe_call_4(), gdbscm_scm_from_string(), and gdbscm_scm_to_string().

## ◆ gdbscm_canonicalize_command_name()

char* gdbscm_canonicalize_command_name | ( | const char * | name,
|  | int | want_trailing_space
| ) |  |

Definition at line 592 of file scm-cmd.c.

References FUNC_NAME, and name.

Referenced by gdbscm_make_command(), and gdbscm_make_parameter().

## ◆ gdbscm_clear_eqable_gsmob_ptr_slot()

void gdbscm_clear_eqable_gsmob_ptr_slot | ( | htab_t | htab,
|  | eqable_gdb_smob * | base
| ) |  |

Definition at line 263 of file scm-gsmob.c.

References frame_info::base, and gdb_assert.

Referenced by bkscm_free_block_smob(), frscm_free_frame_smob(), stscm_free_symtab_smob(), syscm_free_symbol_smob(), and tyscm_free_type_smob().

## ◆ gdbscm_create_eqable_gsmob_ptr_map()

htab_t gdbscm_create_eqable_gsmob_ptr_map | ( | htab_hash | hash_fn,
|  | htab_eq | eq_fn
| ) |  |

Definition at line 225 of file scm-gsmob.c.

References xcalloc(), and xfree().

Referenced by bkscm_objfile_block_map(), frscm_inferior_frame_map(), gdbscm_initialize_types(), stscm_objfile_symtab_map(), syscm_get_symbol_map(), syscm_init_arch_symbols(), and tyscm_type_map().

## ◆ gdbscm_debug_display()

void void gdbscm_debug_display | ( | SCM | obj | ) |

Definition at line 94 of file scm-utils.c.

## ◆ gdbscm_debug_write()

void gdbscm_debug_write | ( | SCM | obj | ) |

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

## ◆ gdbscm_define_functions()

void gdbscm_define_functions | ( | const scheme_function * | ,
|  | int | is_public
| ) |  |

Definition at line 44 of file scm-utils.c.

References scheme_function::doc_string, scheme_function::func, gdbscm_documentation_symbol, gdbscm_scm_from_c_string(), scheme_function::name, scheme_function::optional, scheme_function::required, and scheme_function::rest.

Referenced by gdbscm_initialize_arches(), gdbscm_initialize_blocks(), gdbscm_initialize_breakpoints(), gdbscm_initialize_commands(), gdbscm_initialize_disasm(), gdbscm_initialize_exceptions(), gdbscm_initialize_frames(), gdbscm_initialize_iterators(), gdbscm_initialize_lazy_strings(), gdbscm_initialize_math(), gdbscm_initialize_objfiles(), gdbscm_initialize_parameters(), gdbscm_initialize_ports(), gdbscm_initialize_pretty_printers(), gdbscm_initialize_pspaces(), gdbscm_initialize_smobs(), gdbscm_initialize_strings(), gdbscm_initialize_symbols(), gdbscm_initialize_symtabs(), gdbscm_initialize_types(), and gdbscm_initialize_values().

## ◆ gdbscm_define_integer_constants()

void gdbscm_define_integer_constants | ( | const scheme_integer_constant * | ,
|  | int | is_public
| ) |  |

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

References scheme_integer_constant::name, and scheme_integer_constant::value.

Referenced by gdbscm_initialize_breakpoints(), gdbscm_initialize_commands(), gdbscm_initialize_frames(), gdbscm_initialize_parameters(), gdbscm_initialize_symbols(), and gdbscm_initialize_types().

## ◆ gdbscm_define_variables()

void gdbscm_define_variables | ( | const scheme_variable * | ,
|  | int | is_public
| ) |  |

Definition at line 29 of file scm-utils.c.

References scheme_variable::name, and scheme_variable::value.

## ◆ gdbscm_dynwind_xfree()

void gdbscm_dynwind_xfree | ( | void * | ptr | ) |

Definition at line 571 of file scm-utils.c.

References xfree().

Referenced by gdbscm_parse_command_name(), gdbscm_set_breakpoint_stop_x(), and gdbscm_value_to_string().

## ◆ gdbscm_end_of_iteration()

SCM gdbscm_end_of_iteration | ( | void |  | ) |

Definition at line 189 of file scm-iterator.c.

References end_of_iteration.

Referenced by gdbscm_block_next_symbol_x(), and gdbscm_type_next_field_x().

## ◆ gdbscm_enter_repl()

void gdbscm_enter_repl | ( | void |  | ) |

Definition at line 461 of file scm-safe-call.c.

References gdbscm_safe_call_1().

## ◆ gdbscm_exception_args()

SCM gdbscm_exception_args | ( | SCM | excp | ) |

Definition at line 177 of file scm-exception.c.

References exception_smob::args, FUNC_NAME, and gdbscm_is_exception().

Referenced by gdbscm_exception_message_to_string(), gdbscm_print_gdb_exception(), and gdbscm_throw().

## ◆ gdbscm_exception_key()

SCM gdbscm_exception_key | ( | SCM | excp | ) |

Definition at line 163 of file scm-exception.c.

References FUNC_NAME, gdbscm_is_exception(), and exception_smob::key.

Referenced by cmdscm_function(), gdbscm_exception_message_to_string(), gdbscm_print_gdb_exception(), gdbscm_throw(), pascm_signal_setshow_error(), and ppscm_print_exception_unless_memory_error().

## ◆ gdbscm_exception_message_to_string()

char* gdbscm_exception_message_to_string | ( | SCM | exception | ) |

Definition at line 583 of file scm-exception.c.

References gdb_assert, gdbscm_exception_args(), gdbscm_exception_key(), gdbscm_is_exception(), gdbscm_print_exception_message(), gdbscm_scm_to_c_string(), and with_stack_error_symbol.

Referenced by cmdscm_function(), pascm_signal_setshow_error(), and ppscm_print_exception_unless_memory_error().

## ◆ gdbscm_fill_eqable_gsmob_ptr_slot()

void gdbscm_fill_eqable_gsmob_ptr_slot | ( | eqable_gdb_smob ** | slot,
|  | eqable_gdb_smob * | base
| ) |  |

Definition at line 249 of file scm-gsmob.c.

References frame_info::base.

Referenced by bkscm_scm_from_block(), stscm_scm_from_symtab(), syscm_scm_from_symbol(), tyscm_copy_type_recursive(), and tyscm_scm_from_type().

## ◆ gdbscm_find_eqable_gsmob_ptr_slot()

eqable_gdb_smob** gdbscm_find_eqable_gsmob_ptr_slot | ( | htab_t | htab,
|  | eqable_gdb_smob * | base
| ) |  |

Definition at line 238 of file scm-gsmob.c.

References frame_info::base.

Referenced by bkscm_scm_from_block(), frscm_scm_from_frame(), stscm_scm_from_symtab(), syscm_scm_from_symbol(), tyscm_copy_type_recursive(), and tyscm_scm_from_type().

## ◆ gdbscm_gc_dup_argv()

const char* const* gdbscm_gc_dup_argv | ( | char ** | argv | ) |

Definition at line 600 of file scm-utils.c.

References gdb::argv.

Referenced by compute_enum_list().

## ◆ gdbscm_gc_xstrdup()

char* gdbscm_gc_xstrdup | ( | const char * |  | ) |

Definition at line 587 of file scm-utils.c.

Referenced by gdbscm_make_breakpoint(), gdbscm_make_command(), gdbscm_make_parameter(), gdbscm_register_command_x(), and gdbscm_register_parameter_x().

## ◆ gdbscm_guile_version_is_at_least()

int gdbscm_guile_version_is_at_least | ( | int | major,
|  | int | minor,
|  | int | micro
| ) |  |

Definition at line 631 of file scm-utils.c.

References gdbscm_guile_major_version, gdbscm_guile_micro_version, and gdbscm_guile_minor_version.

Referenced by gdbscm_value_to_string().

## ◆ gdbscm_init_chained_gsmob()

void gdbscm_init_chained_gsmob | ( | chained_gdb_smob * | base | ) |

Definition at line 123 of file scm-gsmob.c.

References frame_info::base, and gdbscm_init_gsmob().

## ◆ gdbscm_init_eqable_gsmob()

void gdbscm_init_eqable_gsmob | ( | eqable_gdb_smob * | base,
|  | SCM | containing_scm
| ) |  |

Definition at line 135 of file scm-gsmob.c.

References frame_info::base, and gdbscm_init_gsmob().

Referenced by bkscm_make_block_smob(), frscm_make_frame_smob(), stscm_make_symtab_smob(), syscm_make_symbol_smob(), and tyscm_make_type_smob().

## ◆ gdbscm_init_gsmob()

void gdbscm_init_gsmob | ( | gdb_smob * | base | ) |

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

References frame_info::base.

Referenced by arscm_make_arch_smob(), bkscm_make_block_syms_progress_smob(), bpscm_make_breakpoint_smob(), cmdscm_make_command_smob(), gdbscm_init_chained_gsmob(), gdbscm_init_eqable_gsmob(), gdbscm_make_exception(), gdbscm_make_pretty_printer(), gdbscm_make_pretty_printer_worker(), itscm_make_iterator_smob(), lsscm_make_lazy_string_smob(), ofscm_make_objfile_smob(), pascm_make_param_smob(), psscm_make_pspace_smob(), stscm_make_sal_smob(), tyscm_make_field_smob(), and vlscm_make_value_smob().

## ◆ gdbscm_initialize_arches()

void gdbscm_initialize_arches | ( | void |  | ) |

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

References arch_functions, arch_object_data, arch_smob_name, arch_smob_tag, arscm_object_data_init(), arscm_print_arch_smob(), gdbarch_data_register_post_init(), gdbscm_define_functions(), and gdbscm_make_smob_type().

## ◆ gdbscm_initialize_auto_load()

void gdbscm_initialize_auto_load | ( | void |  | ) |

Definition at line 62 of file scm-auto-load.c.

References _, add_cmd(), add_setshow_boolean_cmd(), auto_load_guile_scripts, auto_load_info_cmdlist_get(), auto_load_set_cmdlist_get(), auto_load_show_cmdlist_get(), class_info, class_support, info_auto_load_guile_scripts(), and show_auto_load_guile_scripts().

## ◆ gdbscm_initialize_blocks()

void gdbscm_initialize_blocks | ( | void |  | ) |

Definition at line 779 of file scm-block.c.

References as_a_scm_t_subr(), bkscm_del_objfile_blocks(), bkscm_free_block_smob(), bkscm_next_symbol_x_proc, bkscm_objfile_data_key, bkscm_print_block_smob(), bkscm_print_block_syms_progress_smob(), block_functions, block_smob_name, block_smob_tag, block_syms_progress_smob_name, block_syms_progress_smob_tag, gdbscm_block_next_symbol_x(), gdbscm_define_functions(), gdbscm_documentation_symbol, gdbscm_make_smob_type(), and gdbscm_scm_from_c_string().

## ◆ gdbscm_initialize_breakpoints()

void gdbscm_initialize_breakpoints | ( | void |  | ) |

Definition at line 1323 of file scm-breakpoint.c.

References bpscm_breakpoint_created(), bpscm_breakpoint_deleted(), bpscm_free_breakpoint_smob(), bpscm_print_breakpoint_smob(), breakpoint_functions, breakpoint_integer_constants, breakpoint_smob_name, breakpoint_smob_tag, gdbscm_define_functions(), gdbscm_define_integer_constants(), gdbscm_make_smob_type(), internal_keyword, observer_attach_breakpoint_created(), observer_attach_breakpoint_deleted(), type_keyword, and wp_class_keyword.

## ◆ gdbscm_initialize_commands()

void gdbscm_initialize_commands | ( | void |  | ) |

Definition at line 860 of file scm-cmd.c.

References cmdscm_completers, cmdscm_print_command_smob(), command_class_keyword, command_classes, command_functions, command_smob_name, command_smob_tag, completer_class_keyword, doc_keyword, gdbscm_define_functions(), gdbscm_define_integer_constants(), gdbscm_make_smob_type(), invoke_keyword, N_COMPLETERS, name, and prefix_p_keyword.

## ◆ gdbscm_initialize_disasm()

void gdbscm_initialize_disasm | ( | void |  | ) |

Definition at line 305 of file scm-disasm.c.

References address_symbol, asm_symbol, count_keyword, disasm_functions, gdbscm_define_functions(), length_symbol, offset_keyword, port_keyword, and size_keyword.

## ◆ gdbscm_initialize_exceptions()

void gdbscm_initialize_exceptions | ( | void |  | ) |

Definition at line 677 of file scm-exception.c.

References error_symbol, exception_functions, exception_smob_name, exception_smob_tag, exscm_print_exception_smob(), full_symbol, gdbscm_define_functions(), gdbscm_invalid_object_error_symbol, gdbscm_make_smob_type(), memory_error_symbol, message_symbol, none_symbol, private_exception_functions, signal_symbol, user_error_symbol, and with_stack_error_symbol.

## ◆ gdbscm_initialize_frames()

void gdbscm_initialize_frames | ( | void |  | ) |

Definition at line 1160 of file scm-frame.c.

References block_keyword, frame_functions, frame_integer_constants, frame_smob_name, frame_smob_tag, frscm_del_inferior_frames(), frscm_free_frame_smob(), frscm_inferior_data_key, frscm_print_frame_smob(), gdbscm_define_functions(), gdbscm_define_integer_constants(), and gdbscm_make_smob_type().

## ◆ gdbscm_initialize_iterators()

void gdbscm_initialize_iterators | ( | void |  | ) |

Definition at line 350 of file scm-iterator.c.

References end_of_iteration, gdbscm_define_functions(), gdbscm_make_smob_type(), iterator_functions, iterator_smob_name, iterator_smob_tag, and itscm_print_iterator_smob().

## ◆ gdbscm_initialize_lazy_strings()

void gdbscm_initialize_lazy_strings | ( | void |  | ) |

Definition at line 406 of file scm-lazy-string.c.

References gdbscm_define_functions(), gdbscm_make_smob_type(), lazy_string_functions, lazy_string_smob_name, lazy_string_smob_tag, lsscm_free_lazy_string_smob(), and lsscm_print_lazy_string_smob().

## ◆ gdbscm_initialize_math()

void gdbscm_initialize_math | ( | void |  | ) |

Definition at line 1018 of file scm-math.c.

References gdbscm_define_functions(), and math_functions.

## ◆ gdbscm_initialize_objfiles()

void gdbscm_initialize_objfiles | ( | void |  | ) |

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

References gdbscm_define_functions(), gdbscm_make_smob_type(), objfile_functions, objfile_smob_name, objfile_smob_tag, ofscm_handle_objfile_deleted(), ofscm_objfile_data_key, and ofscm_print_objfile_smob().

## ◆ gdbscm_initialize_parameters()

void gdbscm_initialize_parameters | ( | void |  | ) |

Definition at line 1176 of file scm-param.c.

References auto_keyword, command_class_keyword, doc_keyword, enum_list_keyword, gdbscm_define_functions(), gdbscm_define_integer_constants(), gdbscm_make_smob_type(), initial_value_keyword, param_smob_name, parameter_functions, parameter_smob_tag, parameter_type_keyword, parameter_types, pascm_print_param_smob(), set_doc_keyword, set_func_keyword, show_doc_keyword, show_func_keyword, and unlimited_keyword.

## ◆ gdbscm_initialize_ports()

void gdbscm_initialize_ports | ( | void |  | ) |

Definition at line 1338 of file scm-ports.c.

References error_port_scm, gdbscm_define_functions(), input_port_scm, ioscm_init_gdb_stdio_port(), ioscm_init_memory_port_type(), ioscm_make_gdb_stdio_port(), max_memory_port_buf_size, min_memory_port_buf_size, mode_keyword, orig_error_port_scm, orig_input_port_scm, orig_output_port_scm, out_of_range_buf_size, output_port_scm, port_functions, private_port_functions, size_keyword, start_keyword, and xstrprintf().

## ◆ gdbscm_initialize_pretty_printers()

void gdbscm_initialize_pretty_printers | ( | void |  | ) |

Definition at line 1100 of file scm-pretty-print.c.

References gdbscm_define_functions(), gdbscm_make_smob_type(), pp_type_error_symbol, ppscm_array_string, ppscm_map_string, ppscm_print_pretty_printer_smob(), ppscm_print_pretty_printer_worker_smob(), ppscm_string_string, pretty_printer_functions, pretty_printer_list, pretty_printer_smob_name, pretty_printer_smob_tag, pretty_printer_worker_smob_name, and pretty_printer_worker_smob_tag.

## ◆ gdbscm_initialize_pspaces()

void gdbscm_initialize_pspaces | ( | void |  | ) |

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

References gdbscm_define_functions(), gdbscm_make_smob_type(), pspace_functions, pspace_smob_name, pspace_smob_tag, psscm_handle_pspace_deleted(), psscm_print_pspace_smob(), and psscm_pspace_data_key.

## ◆ gdbscm_initialize_smobs()

void gdbscm_initialize_smobs | ( | void |  | ) |

Definition at line 286 of file scm-gsmob.c.

References eq_scm_t_bits(), gdbscm_define_functions(), gsmob_functions, hash_scm_t_bits(), registered_gsmobs, xcalloc(), and xfree().

## ◆ gdbscm_initialize_strings()

void gdbscm_initialize_strings | ( | void |  | ) |

Definition at line 277 of file scm-string.c.

References gdbscm_define_functions(), and string_functions.

## ◆ gdbscm_initialize_symbols()

void gdbscm_initialize_symbols | ( | void |  | ) |

Definition at line 811 of file scm-symbol.c.

References block_keyword, domain_keyword, frame_keyword, gdbarch_data_register_post_init(), gdbscm_define_functions(), gdbscm_define_integer_constants(), gdbscm_make_smob_type(), symbol_functions, symbol_integer_constants, symbol_smob_name, symbol_smob_tag, syscm_del_objfile_symbols(), syscm_free_symbol_smob(), syscm_gdbarch_data_key, syscm_init_arch_symbols(), syscm_objfile_data_key, and syscm_print_symbol_smob().

## ◆ gdbscm_initialize_symtabs()

void gdbscm_initialize_symtabs | ( | void |  | ) |

Definition at line 680 of file scm-symtab.c.

References gdbscm_define_functions(), gdbscm_make_smob_type(), sal_smob_name, sal_smob_tag, stscm_del_objfile_symtabs(), stscm_free_symtab_smob(), stscm_objfile_data_key, stscm_print_sal_smob(), stscm_print_symtab_smob(), symtab_functions, symtab_smob_name, and symtab_smob_tag.

## ◆ gdbscm_initialize_types()

void gdbscm_initialize_types | ( | void |  | ) |

Definition at line 1483 of file scm-type.c.

References as_a_scm_t_subr(), block_keyword, field_smob_name, field_smob_tag, gdbscm_create_eqable_gsmob_ptr_map(), gdbscm_define_functions(), gdbscm_define_integer_constants(), gdbscm_documentation_symbol, gdbscm_make_smob_type(), gdbscm_scm_from_c_string(), gdbscm_type_next_field_x(), global_types_map, save_objfile_types(), type_functions, type_integer_constants, type_smob_name, type_smob_tag, tyscm_eq_type_smob(), tyscm_equal_p_type_smob(), tyscm_free_type_smob(), tyscm_hash_type_smob(), tyscm_next_field_x_proc, tyscm_objfile_data_key, tyscm_print_field_smob(), and tyscm_print_type_smob().

## ◆ gdbscm_initialize_values()

void gdbscm_initialize_values | ( | void |  | ) |

Definition at line 1629 of file scm-value.c.

References encoding_keyword, error_symbol, errors_keyword, escape_symbol, gdbscm_define_functions(), gdbscm_make_smob_type(), length_keyword, substitute_symbol, type_keyword, value_functions, value_smob_name, value_smob_tag, vlscm_equal_p_value_smob(), vlscm_free_value_smob(), and vlscm_print_value_smob().

## ◆ gdbscm_invalid_object_error()

void gdbscm_invalid_object_error | ( | const char * | subr,
|  | int | arg_pos,
|  | SCM | bad_value,
|  | const char * | error
| ) |  |

Definition at line 325 of file scm-exception.c.

References gdbscm_make_invalid_object_error(), and gdbscm_throw().

Referenced by bkscm_get_valid_block_smob_arg_unsafe(), bpscm_get_valid_breakpoint_smob_arg_unsafe(), cmdscm_get_valid_command_smob_arg_unsafe(), frscm_get_frame_smob_arg_unsafe(), gdbscm_frame_arch(), gdbscm_frame_block(), gdbscm_frame_function(), gdbscm_frame_name(), gdbscm_frame_newer(), gdbscm_frame_older(), gdbscm_frame_pc(), gdbscm_frame_read_register(), gdbscm_frame_read_var(), gdbscm_frame_sal(), gdbscm_frame_select(), gdbscm_frame_type(), gdbscm_frame_unwind_stop_reason(), ofscm_get_valid_objfile_smob_arg_unsafe(), psscm_get_valid_pspace_smob_arg_unsafe(), stscm_get_valid_sal_smob_arg(), stscm_get_valid_symtab_smob_arg_unsafe(), and syscm_get_valid_symbol_smob_arg_unsafe().

## ◆ gdbscm_is_exception()

int gdbscm_is_exception | ( | SCM | scm | ) |

Definition at line 147 of file scm-exception.c.

References exception_smob_tag.

Referenced by cmdscm_completer(), cmdscm_function(), frscm_scm_from_frame_unsafe(), gdbscm_apply_val_pretty_printer(), gdbscm_breakpoint_cond_says_stop(), gdbscm_exception_args(), gdbscm_exception_key(), gdbscm_exception_message_to_string(), gdbscm_exception_p(), gdbscm_make_lazy_value(), gdbscm_make_parameter(), gdbscm_make_value(), gdbscm_parse_and_eval(), gdbscm_print_exception_message(), gdbscm_print_exception_with_stack(), gdbscm_print_gdb_exception(), gdbscm_scm_from_string(), gdbscm_scm_to_string(), gdbscm_value_address(), gdbscm_value_call(), gdbscm_value_dereference(), gdbscm_value_field(), gdbscm_value_referenced_value(), gdbscm_value_subscript(), gdbscm_value_to_lazy_string(), ioscm_with_output_to_port_worker(), pascm_set_func(), pascm_show_func(), ppscm_pretty_print_one_value(), ppscm_print_children(), ppscm_print_string_repr(), ppscm_search_pp_list(), vlscm_binop(), vlscm_do_cast(), and vlscm_unop().

## ◆ gdbscm_is_procedure()

int gdbscm_is_procedure | ( | SCM | proc | ) |

Definition at line 579 of file scm-utils.c.

References gdbscm_is_true.

Referenced by cmdscm_completer(), gdbscm_breakpoint_cond_says_stop(), gdbscm_breakpoint_has_cond(), gdbscm_make_command(), gdbscm_make_iterator(), gdbscm_make_parameter(), gdbscm_make_pretty_printer(), gdbscm_register_parameter_x(), gdbscm_set_breakpoint_stop_x(), pascm_set_func(), pascm_show_func(), ppscm_print_children(), and ppscm_search_pp_list().

## ◆ gdbscm_make_error()

SCM gdbscm_make_error | ( | SCM | key,
|  | const char * | subr,
|  | const char * | message,
|  | SCM | args,
|  | SCM | data
| ) |  |

Definition at line 220 of file scm-exception.c.

References gdbarch::data, and gdbscm_make_error_scm().

Referenced by gdbscm_make_arg_error(), gdbscm_make_memory_error(), gdbscm_make_type_error(), gdbscm_parse_function_args(), gdbscm_scm_from_gdb_exception(), and ppscm_make_pp_type_error_exception().

## ◆ gdbscm_make_error_scm()

SCM gdbscm_make_error_scm | ( | SCM | key,
|  | SCM | subr,
|  | SCM | message,
|  | SCM | args,
|  | SCM | data
| ) |  |

Definition at line 210 of file scm-exception.c.

References gdbarch::data, and gdbscm_make_exception().

Referenced by gdbscm_make_error().

## ◆ gdbscm_make_exception()

SCM gdbscm_make_exception | ( | SCM | tag,
|  | SCM | args
| ) |  |

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

References exception_smob::args, exception_smob_name, exception_smob_tag, gdbscm_exception_count, gdbscm_init_gsmob(), exception_smob::key, and scm_new_smob().

Referenced by gdbscm_make_error_scm(), gdbscm_make_exception_with_stack(), and scscm_recording_unwind_handler().

## ◆ gdbscm_make_exception_with_stack()

SCM gdbscm_make_exception_with_stack | ( | SCM | key,
|  | SCM | args,
|  | SCM | stack
| ) |  |

Definition at line 192 of file scm-exception.c.

References gdbscm_make_exception(), and with_stack_error_symbol.

Referenced by scscm_recording_unwind_handler().

## ◆ gdbscm_make_invalid_object_error()

SCM gdbscm_make_invalid_object_error | ( | const char * | subr,
|  | int | arg_pos,
|  | SCM | bad_value,
|  | const char * | error
| ) |  |

Definition at line 313 of file scm-exception.c.

References _, gdbscm_invalid_object_error_symbol, and gdbscm_make_arg_error().

Referenced by bkscm_get_valid_block(), and gdbscm_invalid_object_error().

## ◆ gdbscm_make_iterator()

SCM gdbscm_make_iterator | ( | SCM | object,
|  | SCM | progress,
|  | SCM | next
| ) |  |

Definition at line 157 of file scm-iterator.c.

References _, FUNC_NAME, gdbscm_is_procedure(), and itscm_make_iterator_smob().

Referenced by gdbscm_make_block_syms_iter(), and gdbscm_make_field_iterator().

## ◆ gdbscm_make_memory_error()

SCM gdbscm_make_memory_error | ( | const char * | subr,
|  | const char * | msg,
|  | SCM | args
| ) |  |

Definition at line 382 of file scm-exception.c.

References gdbscm_make_error(), and memory_error_symbol.

Referenced by gdbscm_memory_error().

## ◆ gdbscm_make_misc_error()

SCM gdbscm_make_misc_error | ( | const char * | subr,
|  | int | arg_pos,
|  | SCM | bad_value,
|  | const char * | error
| ) |  |

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

References error(), and gdbscm_make_arg_error().

Referenced by gdbscm_misc_error(), and vlscm_convert_typed_value_from_scheme().

## ◆ gdbscm_make_out_of_range_error()

SCM gdbscm_make_out_of_range_error | ( | const char * | subr,
|  | int | arg_pos,
|  | SCM | bad_value,
|  | const char * | error
| ) |  |

Definition at line 337 of file scm-exception.c.

References _, error(), and gdbscm_make_arg_error().

Referenced by gdbscm_out_of_range_error(), gdbscm_value_to_string(), lsscm_make_lazy_string(), lsscm_safe_lazy_string_to_value(), pascm_param_value(), vlscm_convert_bytevector(), vlscm_convert_number(), and vlscm_convert_typed_number().

## ◆ gdbscm_make_smob_type()

scm_t_bits gdbscm_make_smob_type | ( | const char * | name,
|  | size_t | size
| ) |  |

Definition at line 102 of file scm-gsmob.c.

References name, register_gsmob(), scm_make_smob_type, and size.

Referenced by gdbscm_initialize_arches(), gdbscm_initialize_blocks(), gdbscm_initialize_breakpoints(), gdbscm_initialize_commands(), gdbscm_initialize_exceptions(), gdbscm_initialize_frames(), gdbscm_initialize_iterators(), gdbscm_initialize_lazy_strings(), gdbscm_initialize_objfiles(), gdbscm_initialize_parameters(), gdbscm_initialize_pretty_printers(), gdbscm_initialize_pspaces(), gdbscm_initialize_symbols(), gdbscm_initialize_symtabs(), gdbscm_initialize_types(), and gdbscm_initialize_values().

## ◆ gdbscm_make_type_error()

SCM gdbscm_make_type_error | ( | const char * | subr,
|  | int | arg_pos,
|  | SCM | bad_value,
|  | const char * | expected_type
| ) |  |

Definition at line 234 of file scm-exception.c.

References _, gdbscm_make_error(), xfree(), and xstrprintf().

Referenced by bkscm_get_valid_block(), vlscm_convert_typed_number(), and vlscm_convert_typed_value_from_scheme().

## ◆ gdbscm_memory_error()

void gdbscm_memory_error | ( | const char * | subr,
|  | const char * | msg,
|  | SCM | args
| ) |  |

Definition at line 391 of file scm-exception.c.

References gdbscm_make_memory_error(), and gdbscm_throw().

Referenced by gdbscm_memory_port_fill_input(), gdbscm_memory_port_flush(), and gdbscm_memory_port_write().

## ◆ gdbscm_misc_error()

void gdbscm_misc_error | ( | const char * | subr,
|  | int | arg_pos,
|  | SCM | bad_value,
|  | const char * | error
| ) |  |

Definition at line 371 of file scm-exception.c.

References error(), gdbscm_make_misc_error(), and gdbscm_throw().

Referenced by gdbscm_make_breakpoint(), gdbscm_make_parameter(), and gdbscm_register_parameter_x().

## ◆ gdbscm_out_of_range_error()

void gdbscm_out_of_range_error | ( | const char * | subr,
|  | int | arg_pos,
|  | SCM | bad_value,
|  | const char * | error
| ) |  |

Definition at line 349 of file scm-exception.c.

References error(), gdbscm_make_out_of_range_error(), and gdbscm_throw().

Referenced by compute_enum_list(), gdbscm_arch_disassemble(), gdbscm_frame_read_register(), gdbscm_frame_read_var(), gdbscm_lookup_block(), gdbscm_make_breakpoint(), gdbscm_make_command(), gdbscm_make_field_iterator(), gdbscm_make_parameter(), gdbscm_memory_port_end_input(), gdbscm_memory_port_flush(), gdbscm_memory_port_seek(), gdbscm_memory_port_write(), gdbscm_open_memory(), gdbscm_parameter_value(), gdbscm_parse_command_name(), gdbscm_set_breakpoint_hit_count_x(), gdbscm_set_breakpoint_stop_x(), gdbscm_set_breakpoint_task_x(), gdbscm_set_breakpoint_thread_x(), gdbscm_set_memory_port_read_buffer_size_x(), gdbscm_set_memory_port_write_buffer_size_x(), gdbscm_symbol_value(), gdbscm_type_field(), gdbscm_type_fields(), gdbscm_type_has_field_p(), gdbscm_type_num_fields(), gdbscm_value_to_lazy_string(), gdbscm_value_to_real(), ioscm_parse_mode_bits(), pascm_set_param_value_x(), and tyscm_array_1().

## ◆ gdbscm_parse_command_name()

char* gdbscm_parse_command_name | ( | const char * | name,
|  | const char * | func_name,
|  | int | arg_pos,
|  | struct cmd_list_element *** | base_list,
|  | struct cmd_list_element ** | start_list
| ) |  |

Definition at line 471 of file scm-cmd.c.

References _, CMD_LIST_AMBIGUOUS, gdbscm_dynwind_xfree(), gdbscm_out_of_range_error(), gdbscm_scm_from_c_string(), lookup_cmd_1(), name, cmd_list_element::prefixlist, xfree(), xmalloc(), and xstrprintf().

Referenced by gdbscm_register_command_x(), and gdbscm_register_parameter_x().

## ◆ gdbscm_parse_function_args()

void gdbscm_parse_function_args | ( | const char * | function_name,
|  | int | beginning_arg_pos,
|  | const SCM * | keywords,
|  | const char * | format,
|  |  | ...
| ) |  |

Definition at line 377 of file scm-utils.c.

References _, count_keywords(), extract_arg(), gdb_assert, gdbscm_is_false, gdbscm_make_error(), gdbscm_throw(), lookup_keyword(), status, validate_arg_format(), VEC, VEC_free, VEC_iterate, VEC_safe_push, and xfree().

Referenced by gdbscm_arch_disassemble(), gdbscm_find_pc_line(), gdbscm_frame_read_register(), gdbscm_frame_read_var(), gdbscm_history_ref(), gdbscm_lookup_block(), gdbscm_lookup_global_symbol(), gdbscm_lookup_symbol(), gdbscm_lookup_type(), gdbscm_make_breakpoint(), gdbscm_make_command(), gdbscm_make_lazy_value(), gdbscm_make_parameter(), gdbscm_make_value(), gdbscm_open_memory(), gdbscm_parse_and_eval(), gdbscm_string_to_argv(), gdbscm_symbol_value(), gdbscm_unwind_stop_reason_string(), gdbscm_value_to_lazy_string(), gdbscm_value_to_string(), and tyscm_array_1().

## ◆ gdbscm_preserve_values()

void gdbscm_preserve_values | ( | const struct extension_language_defn * | ,
|  | struct objfile * | ,
|  | htab_t | copied_types
| ) |  |

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

References _value_smob::next, preserve_one_value(), _value_smob::value, and values_in_scheme.

## ◆ gdbscm_print_exception_with_stack()

void gdbscm_print_exception_with_stack | ( | SCM | port,
|  | SCM | stack,
|  | SCM | key,
|  | SCM | args
| ) |  |

Definition at line 526 of file scm-exception.c.

References _, gdbscm_init_module_name, gdbscm_is_exception(), gdbscm_is_false, gdbscm_printf(), gdbscm_safe_call_4(), percent_print_exception_with_stack_name, percent_print_exception_with_stack_var, and status.

Referenced by gdbscm_print_gdb_exception(), and scscm_printing_pre_unwind_handler().

## ◆ gdbscm_print_gdb_exception()

void gdbscm_print_gdb_exception | ( | SCM | port,
|  | SCM | exception
| ) |  |

Definition at line 567 of file scm-exception.c.

References gdb_assert, gdbscm_exception_args(), gdbscm_exception_key(), gdbscm_is_exception(), and gdbscm_print_exception_with_stack().

Referenced by cmdscm_add_completion(), cmdscm_completer(), cmdscm_function(), pascm_set_func(), pascm_show_func(), pascm_signal_setshow_error(), ppscm_print_exception_unless_memory_error(), and ppscm_print_pp_type_error().

## ◆ gdbscm_printf()

void gdbscm_printf | ( | SCM | port,
|  | const char * | format,
|  |  | ...
| ) |  |

Referenced by arscm_print_arch_smob(), bkscm_print_block_smob(), bkscm_print_block_syms_progress_smob(), bpscm_print_breakpoint_smob(), cmdscm_print_command_smob(), exscm_print_exception_smob(), frscm_print_frame_smob(), gdbscm_memory_port_print(), gdbscm_print_exception_message(), gdbscm_print_exception_with_stack(), itscm_print_iterator_smob(), lsscm_print_lazy_string_smob(), ofscm_print_objfile_smob(), pascm_print_param_smob(), ppscm_print_pretty_printer_smob(), ppscm_print_pretty_printer_worker_smob(), psscm_print_pspace_smob(), stscm_print_sal_smob(), stscm_print_symtab_smob(), syscm_print_symbol_smob(), tyscm_print_field_smob(), tyscm_print_type_smob(), and vlscm_print_value_smob().

## ◆ gdbscm_remove_objfile_ref()

void gdbscm_remove_objfile_ref | ( | struct objfile * | objfile,
|  | const struct objfile_data * | data_key,
|  | chained_gdb_smob * | g_smob
| ) |  |

Definition at line 209 of file scm-gsmob.c.

References _chained_gdb_smob::next, and _chained_gdb_smob::prev.

## ◆ gdbscm_safe_apply_1()

SCM gdbscm_safe_apply_1 | ( | SCM | proc,
|  | SCM | arg0,
|  | SCM | args,
|  | excp_matcher_func * | ok_excps
| ) |  |

Definition at line 331 of file scm-safe-call.c.

References gdbscm_call_guile(), and scscm_apply_1_body().

## ◆ gdbscm_safe_call_0()

SCM gdbscm_safe_call_0 | ( | SCM | proc,
|  | excp_matcher_func * | ok_excps
| ) |  |

Definition at line 239 of file scm-safe-call.c.

References gdbscm_call_guile(), and scscm_call_0_body().

Referenced by ioscm_with_output_to_port_worker().

## ◆ gdbscm_safe_call_1()

SCM gdbscm_safe_call_1 | ( | SCM | proc,
|  | SCM | arg0,
|  | excp_matcher_func * | ok_excps
| ) |  |

Definition at line 257 of file scm-safe-call.c.

References gdbscm_call_guile(), and scscm_call_1_body().

Referenced by gdbscm_breakpoint_cond_says_stop(), gdbscm_enter_repl(), gdbscm_iterator_next_x(), gdbscm_make_parameter(), itscm_safe_call_next_x(), pascm_set_func(), ppscm_pretty_print_one_value(), and ppscm_print_children().

## ◆ gdbscm_safe_call_2()

SCM gdbscm_safe_call_2 | ( | SCM | proc,
|  | SCM | arg0,
|  | SCM | arg1,
|  | excp_matcher_func * | ok_excps
| ) |  |

Definition at line 275 of file scm-safe-call.c.

References gdbscm_call_guile(), and scscm_call_2_body().

Referenced by pascm_show_func(), and ppscm_search_pp_list().

## ◆ gdbscm_safe_call_3()

SCM gdbscm_safe_call_3 | ( | SCM | proc,
|  | SCM | arg0,
|  | SCM | arg1,
|  | SCM | arg2,
|  | excp_matcher_func * | ok_excps
| ) |  |

Definition at line 293 of file scm-safe-call.c.

References gdbscm_call_guile(), and scscm_call_3_body().

Referenced by cmdscm_completer(), and cmdscm_function().

## ◆ gdbscm_safe_call_4()

SCM gdbscm_safe_call_4 | ( | SCM | proc,
|  | SCM | arg0,
|  | SCM | arg1,
|  | SCM | arg2,
|  | SCM | arg3,
|  | excp_matcher_func * | ok_excps
| ) |  |

Definition at line 312 of file scm-safe-call.c.

References gdbscm_call_guile(), and scscm_call_4_body().

Referenced by gdbscm_print_exception_message(), and gdbscm_print_exception_with_stack().

## ◆ gdbscm_safe_eval_string()

char* gdbscm_safe_eval_string | ( | const char * | string,
|  | int | display_result
| ) |  |

Definition at line 398 of file scm-safe-call.c.

References eval_scheme_string_data::display_result, gdbscm_with_guile(), scscm_eval_scheme_string(), and string.

Referenced by gdbscm_execute_objfile_script().

## ◆ gdbscm_safe_source_script()

char* gdbscm_safe_source_script | ( | const char * | filename | ) |

Definition at line 434 of file scm-safe-call.c.

References gdb_realpath(), gdbscm_with_guile(), and scscm_source_scheme_script().

Referenced by gdbscm_source_objfile_script().

## ◆ gdbscm_scm_from_c_string()

SCM gdbscm_scm_from_c_string | ( | const char * | string | ) |

Definition at line 44 of file scm-string.c.

Referenced by dascm_make_insn(), gdbscm_arch_charset(), gdbscm_arch_name(), gdbscm_arch_wide_charset(), gdbscm_breakpoint_commands(), gdbscm_breakpoint_condition(), gdbscm_breakpoint_expression(), gdbscm_breakpoint_location(), gdbscm_define_functions(), gdbscm_field_name(), gdbscm_frame_name(), gdbscm_initialize_blocks(), gdbscm_initialize_types(), gdbscm_lazy_string_encoding(), gdbscm_objfile_filename(), gdbscm_parse_command_name(), gdbscm_progspace_filename(), gdbscm_scm_from_gdb_exception(), gdbscm_string_to_argv(), gdbscm_symbol_linkage_name(), gdbscm_symbol_name(), gdbscm_symbol_print_name(), gdbscm_symtab_filename(), gdbscm_symtab_fullname(), gdbscm_type_name(), gdbscm_type_print_name(), gdbscm_type_tag(), gdbscm_unwind_stop_reason_string(), ioscm_make_gdb_stdio_port(), and ioscm_parse_mode_bits().

## ◆ gdbscm_scm_from_gdb_exception()

SCM gdbscm_scm_from_gdb_exception | ( | struct gdb_exception | exception | ) |

Definition at line 431 of file scm-exception.c.

References _, gdb_exception::error, error_symbol, gdbscm_make_error(), gdbscm_scm_from_c_string(), MEMORY_ERROR, memory_error_symbol, gdb_exception::message, gdb_exception::reason, RETURN_QUIT, and signal_symbol.

Referenced by gdbscm_throw_gdb_exception(), lsscm_safe_lazy_string_to_value(), tyscm_type_name(), and vlscm_convert_typed_value_from_scheme().

## ◆ gdbscm_scm_from_host_string()

SCM gdbscm_scm_from_host_string | ( | const char * | string,
|  | size_t | len
| ) |  |

Definition at line 231 of file scm-string.c.

References gdbscm_scm_from_string(), host_charset(), and scm_from_stringn_data::len.

Referenced by pascm_param_value(), and pascm_show_func().

## ◆ gdbscm_scm_from_longest()

SCM gdbscm_scm_from_longest | ( | LONGEST | l | ) |

Definition at line 533 of file scm-utils.c.

Referenced by gdbscm_memory_port_seek(), gdbscm_type_range(), and gdbscm_value_to_integer().

## ◆ gdbscm_scm_from_printf()

SCM gdbscm_scm_from_printf | ( | const char * | format,
|  |  | ...
| ) |  |

## ◆ gdbscm_scm_from_string()

SCM gdbscm_scm_from_string | ( | const char * | string,
|  | size_t | len,
|  | const char * | charset,
|  | int | strict
| ) |  |

Definition at line 180 of file scm-string.c.

References scm_from_stringn_data::charset, scm_from_stringn_data::conversion_kind, gdb_assert, gdbscm_call_guile(), gdbscm_call_scm_from_stringn(), gdbscm_is_exception(), gdbscm_is_false, scm_from_stringn_data::len, scm_from_stringn_data::result, string, and scm_from_stringn_data::string.

Referenced by cmdscm_completer(), cmdscm_function(), and gdbscm_scm_from_host_string().

## ◆ gdbscm_scm_from_ulongest()

SCM gdbscm_scm_from_ulongest | ( | ULONGEST | l | ) |

Definition at line 552 of file scm-utils.c.

Referenced by dascm_make_insn(), gdbscm_arch_disassemble(), gdbscm_block_end(), gdbscm_block_start(), gdbscm_disasm_read_memory_worker(), gdbscm_frame_pc(), gdbscm_lazy_string_address(), gdbscm_memory_port_flush(), gdbscm_memory_port_range(), gdbscm_memory_port_write(), gdbscm_open_memory(), gdbscm_sal_last(), gdbscm_sal_pc(), and gdbscm_value_to_integer().

## ◆ gdbscm_scm_string_to_int()

int gdbscm_scm_string_to_int | ( | SCM | string | ) |

Definition at line 31 of file scm-string.c.

References free().

## ◆ gdbscm_scm_to_c_string()

char* gdbscm_scm_to_c_string | ( | SCM | string | ) |

Definition at line 55 of file scm-string.c.

Referenced by extract_arg(), gdbscm_exception_message_to_string(), gdbscm_frame_read_var(), gdbscm_set_breakpoint_condition_x(), gdbscm_type_field(), gdbscm_type_has_field_p(), gdbscm_value_field(), and ppscm_print_children().

## ◆ gdbscm_scm_to_host_string()

char* gdbscm_scm_to_host_string | ( | SCM | string,
|  | size_t * | lenp,
|  | SCM * | except
| ) |  |

Definition at line 221 of file scm-string.c.

References gdbscm_scm_to_string(), and host_charset().

Referenced by compute_enum_list(), gdbscm_parameter_value(), pascm_set_func(), pascm_set_param_value_x(), and pascm_show_func().

## ◆ gdbscm_scm_to_longest()

LONGEST gdbscm_scm_to_longest | ( | SCM | l | ) |

Definition at line 544 of file scm-utils.c.

Referenced by extract_arg(), vlscm_convert_number(), and vlscm_convert_typed_number().

## ◆ gdbscm_scm_to_string()

SCM char* gdbscm_scm_to_string | ( | SCM | string,
|  | size_t * | lenp,
|  | const char * | charset,
|  | int | strict,
|  | SCM * | except_scmp
| ) |  |

Definition at line 120 of file scm-string.c.

References scm_to_stringn_data::charset, scm_to_stringn_data::conversion_kind, gdb_assert, gdbscm_call_guile(), gdbscm_call_scm_to_stringn(), gdbscm_is_exception(), gdbscm_is_false, scm_to_stringn_data::lenp, scm_to_stringn_data::result, string, and scm_to_stringn_data::string.

Referenced by cmdscm_add_completion(), gdbscm_scm_to_host_string(), ppscm_print_string_repr(), and vlscm_convert_typed_value_from_scheme().

## ◆ gdbscm_scm_to_ulongest()

ULONGEST gdbscm_scm_to_ulongest | ( | SCM | u | ) |

Definition at line 563 of file scm-utils.c.

Referenced by extract_arg(), vlscm_convert_number(), and vlscm_convert_typed_number().

## ◆ gdbscm_throw()

void gdbscm_throw | ( | SCM | exception | ) |

Definition at line 421 of file scm-exception.c.

References gdb_assert_not_reached, gdbscm_exception_args(), and gdbscm_exception_key().

Referenced by compute_enum_list(), frscm_scm_from_frame_unsafe(), gdbscm_frame_read_var(), gdbscm_invalid_object_error(), gdbscm_lazy_string_to_value(), gdbscm_lookup_symbol(), gdbscm_lookup_type(), gdbscm_make_lazy_value(), gdbscm_make_parameter(), gdbscm_make_value(), gdbscm_memory_error(), gdbscm_misc_error(), gdbscm_out_of_range_error(), gdbscm_parameter_value(), gdbscm_parse_and_eval(), gdbscm_parse_function_args(), gdbscm_throw_gdb_exception(), gdbscm_value_address(), gdbscm_value_call(), gdbscm_value_dereference(), gdbscm_value_field(), gdbscm_value_referenced_value(), gdbscm_value_subscript(), gdbscm_value_to_lazy_string(), gdbscm_value_to_string(), ioscm_with_output_to_port_worker(), pascm_set_param_value_x(), tyscm_type_name(), vlscm_binop(), vlscm_do_cast(), vlscm_rich_compare(), and vlscm_unop().

## ◆ gdbscm_throw_gdb_exception()

void gdbscm_throw_gdb_exception | ( | struct gdb_exception | exception | ) |

Definition at line 457 of file scm-exception.c.

References gdbscm_scm_from_gdb_exception(), and gdbscm_throw().

Referenced by gdbscm_breakpoint_commands().

## ◆ gdbscm_unsafe_call_1()

SCM gdbscm_unsafe_call_1 | ( | SCM | proc,
|  | SCM | arg0
| ) |  |

Definition at line 356 of file scm-safe-call.c.

## ◆ gdbscm_valid_command_class_p()

int gdbscm_valid_command_class_p | ( | int | command_class | ) |

Definition at line 570 of file scm-cmd.c.

References command_classes, and scheme_integer_constant::name.

Referenced by gdbscm_make_command(), and gdbscm_make_parameter().

## ◆ gdbscm_with_guile()

const char* gdbscm_with_guile | ( | const char *(*)(void *) | func,
|  | void * | data
| ) |  |

Definition at line 171 of file scm-safe-call.c.

References _, with_catch_data::catch_result, c_data::data, with_catch_data::data, with_catch_data::excp_matcher, c_data::func, with_catch_data::func, func, gdbscm_with_catch(), with_catch_data::pre_unwind_handler, c_data::result, scscm_nop_unwind_handler(), scscm_printing_pre_unwind_handler(), scscm_safe_call_body(), with_catch_data::stack, and with_catch_data::unwind_handler.

Referenced by gdbscm_disasm_read_memory(), gdbscm_safe_eval_string(), and gdbscm_safe_source_script().

## ◆ itscm_get_iterator_arg_unsafe()

SCM itscm_get_iterator_arg_unsafe | ( | SCM | self,
|  | int | arg_pos,
|  | const char * | func_name
| ) |  |

Definition at line 231 of file scm-iterator.c.

References iterator_smob_name, and itscm_is_iterator().

Referenced by gdbscm_block_next_symbol_x(), gdbscm_iterator_next_x(), gdbscm_iterator_object(), gdbscm_iterator_progress(), gdbscm_set_iterator_progress_x(), and gdbscm_type_next_field_x().

## ◆ itscm_is_end_of_iteration()

int itscm_is_end_of_iteration | ( | SCM | obj | ) |

Definition at line 197 of file scm-iterator.c.

References end_of_iteration.

Referenced by gdbscm_end_of_iteration_p(), and ppscm_print_children().

## ◆ itscm_is_iterator()

int itscm_is_iterator | ( | SCM | scm | ) |

Definition at line 172 of file scm-iterator.c.

References iterator_smob_tag.

Referenced by cmdscm_completer(), gdbscm_iterator_p(), itscm_get_iterator_arg_unsafe(), itscm_safe_call_next_x(), and ppscm_print_children().

## ◆ itscm_iterator_smob_name()

const char* itscm_iterator_smob_name | ( | void |  | ) |

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

References iterator_smob_name.

## ◆ itscm_iterator_smob_object()

SCM itscm_iterator_smob_object | ( | iterator_smob * | i_smob | ) |

Definition at line 94 of file scm-iterator.c.

References _iterator_smob::object.

Referenced by gdbscm_block_next_symbol_x(), and gdbscm_type_next_field_x().

## ◆ itscm_iterator_smob_progress()

SCM itscm_iterator_smob_progress | ( | iterator_smob * | i_smob | ) |

Definition at line 100 of file scm-iterator.c.

References _iterator_smob::progress.

Referenced by gdbscm_block_next_symbol_x(), and gdbscm_type_next_field_x().

## ◆ itscm_safe_call_next_x()

SCM itscm_safe_call_next_x | ( | SCM | iter,
|  | excp_matcher_func * | ok_excps
| ) |  |

Definition at line 215 of file scm-iterator.c.

References gdb_assert, gdbscm_safe_call_1(), itscm_is_iterator(), and _iterator_smob::next_x.

Referenced by cmdscm_completer(), and ppscm_print_children().

## ◆ itscm_set_iterator_smob_progress_x()

void itscm_set_iterator_smob_progress_x | ( | iterator_smob * | i_smob,
|  | SCM | progress
| ) |  |

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

References _iterator_smob::progress.

Referenced by gdbscm_type_next_field_x().

## ◆ lsscm_is_lazy_string()

int lsscm_is_lazy_string | ( | SCM | scm | ) |

Definition at line 138 of file scm-lazy-string.c.

References lazy_string_smob_tag.

Referenced by gdbscm_lazy_string_p(), lsscm_get_lazy_string_arg_unsafe(), lsscm_safe_lazy_string_to_value(), lsscm_val_print_lazy_string(), ppscm_pretty_print_one_value(), ppscm_print_children(), ppscm_print_string_repr(), and vlscm_convert_typed_value_from_scheme().

## ◆ lsscm_make_lazy_string()

SCM lsscm_make_lazy_string | ( | CORE_ADDR | address,
|  | int | length,
|  | const char * | encoding,
|  | struct type * | type
| ) |  |

Definition at line 155 of file scm-lazy-string.c.

References _, gdbscm_make_out_of_range_error(), and lsscm_make_lazy_string_smob().

Referenced by gdbscm_value_to_lazy_string().

## ◆ lsscm_safe_lazy_string_to_value()

struct value* lsscm_safe_lazy_string_to_value | ( | SCM | string,
|  | int | arg_pos,
|  | const char * | func_name,
|  | SCM * | except_scmp
| ) |  |

Definition at line 294 of file scm-lazy-string.c.

References _, lazy_string_smob::address, CATCH, check_typedef(), END_CATCH, gdb_assert, gdbscm_make_out_of_range_error(), gdbscm_scm_from_gdb_exception(), lazy_string_smob::length, lookup_array_range_type(), lsscm_is_lazy_string(), RETURN_MASK_ALL, TRY, lazy_string_smob::type, TYPE_CODE, TYPE_CODE_PTR, TYPE_TARGET_TYPE, tyscm_scm_to_type(), value_at_lazy(), and value_from_pointer().

Referenced by gdbscm_lazy_string_to_value(), and vlscm_convert_typed_value_from_scheme().

## ◆ lsscm_val_print_lazy_string()

void lsscm_val_print_lazy_string | ( | SCM | string,
|  | struct ui_file * | stream,
|  | const struct value_print_options * | options
| ) |  |

Definition at line 353 of file scm-lazy-string.c.

References lazy_string_smob::address, lazy_string_smob::encoding, gdb_assert, lazy_string_smob::length, lsscm_elt_type(), lsscm_is_lazy_string(), and val_print_string().

Referenced by ppscm_print_children(), and ppscm_print_string_repr().

## ◆ ofscm_objfile_smob_from_objfile()

objfile_smob* ofscm_objfile_smob_from_objfile | ( | struct objfile * | objfile | ) |

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

References _objfile_smob::containing_scm, _objfile_smob::objfile, ofscm_make_objfile_smob(), and ofscm_objfile_data_key.

Referenced by ofscm_scm_from_objfile(), and ppscm_find_pretty_printer_from_objfiles().

## ◆ ofscm_objfile_smob_pretty_printers()

SCM ofscm_objfile_smob_pretty_printers | ( | objfile_smob * | o_smob | ) |

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

References _objfile_smob::pretty_printers.

Referenced by ppscm_find_pretty_printer_from_objfiles().

## ◆ ofscm_scm_from_objfile()

SCM ofscm_scm_from_objfile | ( | struct objfile * | objfile | ) |

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

References _objfile_smob::containing_scm, and ofscm_objfile_smob_from_objfile().

Referenced by gdbscm_get_current_objfile(), gdbscm_objfiles(), gdbscm_progspace_objfiles(), and gdbscm_symtab_objfile().

## ◆ psscm_pspace_smob_from_pspace()

pspace_smob* psscm_pspace_smob_from_pspace | ( | struct program_space * |  | ) |

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

References _pspace_smob::containing_scm, _pspace_smob::pspace, objfile::pspace, psscm_make_pspace_smob(), and psscm_pspace_data_key.

Referenced by ppscm_find_pretty_printer_from_progspace(), and psscm_scm_from_pspace().

## ◆ psscm_pspace_smob_pretty_printers()

SCM psscm_pspace_smob_pretty_printers | ( | const pspace_smob * |  | ) |

Definition at line 61 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 * |  | ) |

Definition at line 179 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().

## ◆ scm_new_smob()

static SCM scm_new_smob | ( | scm_t_bits | tc,
|  | scm_t_bits | data
| ) |  |
| inline static

Definition at line 141 of file guile-internal.h.

Referenced by arscm_make_arch_smob(), bkscm_make_block_smob(), bkscm_make_block_syms_progress_smob(), bpscm_make_breakpoint_smob(), cmdscm_make_command_smob(), frscm_make_frame_smob(), gdbscm_make_exception(), gdbscm_make_pretty_printer(), gdbscm_make_pretty_printer_worker(), itscm_make_iterator_smob(), lsscm_make_lazy_string_smob(), ofscm_make_objfile_smob(), pascm_make_param_smob(), psscm_make_pspace_smob(), stscm_make_sal_smob(), stscm_make_symtab_smob(), syscm_make_symbol_smob(), tyscm_make_field_smob(), tyscm_make_type_smob(), and vlscm_make_value_smob().

## ◆ stscm_scm_from_sal()

SCM stscm_scm_from_sal | ( | struct symtab_and_line | sal | ) |

Definition at line 448 of file scm-symtab.c.

References sal_smob::sal, stscm_make_sal_smob(), stscm_scm_from_symtab(), symtab_and_line::symtab, and sal_smob::symtab_scm.

Referenced by gdbscm_find_pc_line(), and gdbscm_frame_sal().

## ◆ stscm_scm_from_symtab()

SCM stscm_scm_from_symtab | ( | struct symtab * | symtab | ) |

Definition at line 200 of file scm-symtab.c.

References symtab_smob::base, gdbscm_fill_eqable_gsmob_ptr_slot(), gdbscm_find_eqable_gsmob_ptr_slot(), stscm_make_symtab_smob(), stscm_objfile_symtab_map(), and symtab_smob::symtab.

Referenced by gdbscm_symbol_symtab(), and stscm_scm_from_sal().

## ◆ syscm_get_valid_symbol_arg_unsafe()

struct symbol* syscm_get_valid_symbol_arg_unsafe | ( | SCM | self,
|  | int | arg_pos,
|  | const char * | func_name
| ) |  |

Definition at line 285 of file scm-symbol.c.

References symbol_smob::symbol, and syscm_get_valid_symbol_smob_arg_unsafe().

Referenced by gdbscm_frame_read_var().

## ◆ syscm_is_symbol()

int syscm_is_symbol | ( | SCM | scm | ) |

Definition at line 190 of file scm-symbol.c.

References symbol_smob_tag.

Referenced by gdbscm_frame_read_var(), gdbscm_symbol_p(), and syscm_get_symbol_arg_unsafe().

## ◆ syscm_scm_from_symbol()

SCM syscm_scm_from_symbol | ( | struct symbol * | symbol | ) |

Definition at line 207 of file scm-symbol.c.

References symbol_smob::base, gdbscm_fill_eqable_gsmob_ptr_slot(), gdbscm_find_eqable_gsmob_ptr_slot(), syscm_gdbarch_data::htab, symbol_smob::symbol, symbol, syscm_get_symbol_map(), and syscm_make_symbol_smob().

Referenced by gdbscm_block_function(), gdbscm_block_next_symbol_x(), gdbscm_block_symbols(), gdbscm_frame_function(), gdbscm_lookup_global_symbol(), and gdbscm_lookup_symbol().

## ◆ tyscm_get_type_smob_arg_unsafe()

type_smob* tyscm_get_type_smob_arg_unsafe | ( | SCM | type_scm,
|  | int | arg_pos,
|  | const char * | func_name
| ) |  |

Definition at line 328 of file scm-type.c.

References tyscm_get_type_arg_unsafe().

Referenced by gdbscm_make_field_iterator(), gdbscm_make_lazy_value(), gdbscm_make_value(), gdbscm_type_code(), gdbscm_type_const(), gdbscm_type_field(), gdbscm_type_fields(), gdbscm_type_has_field_p(), gdbscm_type_name(), gdbscm_type_num_fields(), gdbscm_type_pointer(), gdbscm_type_print_name(), gdbscm_type_range(), gdbscm_type_reference(), gdbscm_type_sizeof(), gdbscm_type_strip_typedefs(), gdbscm_type_tag(), gdbscm_type_target(), gdbscm_type_unqualified(), gdbscm_type_volatile(), tyscm_array_1(), and vlscm_do_cast().

## ◆ tyscm_is_type()

int tyscm_is_type | ( | SCM | scm | ) |

Definition at line 272 of file scm-type.c.

References type_smob_tag.

Referenced by gdbscm_type_next_field_x(), gdbscm_type_p(), tyscm_equal_p_type_smob(), tyscm_field_smob_containing_type(), tyscm_get_type_arg_unsafe(), and tyscm_scm_to_type().

## ◆ tyscm_scm_from_field()

SCM tyscm_scm_from_field | ( | SCM | type_scm,
|  | int | field_num
| ) |  |

Definition at line 465 of file scm-type.c.

References tyscm_make_field_smob().

## ◆ tyscm_scm_from_type()

SCM tyscm_scm_from_type | ( | struct type * | type | ) |

Definition at line 289 of file scm-type.c.

References _type_smob::base, gdbscm_fill_eqable_gsmob_ptr_slot(), gdbscm_find_eqable_gsmob_ptr_slot(), _type_smob::type, type, tyscm_make_type_smob(), and tyscm_type_map().

Referenced by gdbscm_arch_bool_type(), gdbscm_arch_char_type(), gdbscm_arch_double_type(), gdbscm_arch_float_type(), gdbscm_arch_int16_type(), gdbscm_arch_int32_type(), gdbscm_arch_int64_type(), gdbscm_arch_int8_type(), gdbscm_arch_int_type(), gdbscm_arch_long_type(), gdbscm_arch_longdouble_type(), gdbscm_arch_longlong_type(), gdbscm_arch_schar_type(), gdbscm_arch_short_type(), gdbscm_arch_uchar_type(), gdbscm_arch_uint16_type(), gdbscm_arch_uint32_type(), gdbscm_arch_uint64_type(), gdbscm_arch_uint8_type(), gdbscm_arch_uint_type(), gdbscm_arch_ulong_type(), gdbscm_arch_ulonglong_type(), gdbscm_arch_ushort_type(), gdbscm_arch_void_type(), gdbscm_field_type(), gdbscm_lookup_type(), gdbscm_make_field_iterator(), gdbscm_symbol_type(), gdbscm_type_const(), gdbscm_type_fields(), gdbscm_type_pointer(), gdbscm_type_reference(), gdbscm_type_strip_typedefs(), gdbscm_type_target(), gdbscm_type_unqualified(), gdbscm_type_volatile(), gdbscm_value_dynamic_type(), gdbscm_value_type(), lsscm_make_lazy_string_smob(), and tyscm_array_1().

## ◆ tyscm_scm_to_type()

struct type* tyscm_scm_to_type | ( | SCM | t_scm | ) |

Definition at line 340 of file scm-type.c.

References gdb_assert, _type_smob::type, and tyscm_is_type().

Referenced by lsscm_elt_type(), and lsscm_safe_lazy_string_to_value().

## ◆ tyscm_type_smob_type()

struct type* tyscm_type_smob_type | ( | type_smob * | t_smob | ) |

Definition at line 97 of file scm-type.c.

References _type_smob::type.

Referenced by gdbscm_make_lazy_value(), gdbscm_make_value(), and vlscm_do_cast().

## ◆ vlscm_convert_typed_value_from_scheme()

struct value* vlscm_convert_typed_value_from_scheme | ( | const char * | func_name,
|  | int | obj_arg_pos,
|  | SCM | obj,
|  | int | type_arg_pos,
|  | SCM | type_scm,
|  | struct type * | type,
|  | SCM * | except_scmp,
|  | struct gdbarch * | gdbarch,
|  | const struct language_defn * | language
| ) |  |

Definition at line 757 of file scm-math.c.

References _, CATCH, do_cleanups(), END_CATCH, gdb_assert, gdbscm_is_bool, gdbscm_is_true, gdbscm_make_misc_error(), gdbscm_make_type_error(), gdbscm_scm_from_gdb_exception(), gdbscm_scm_to_string(), is_integral_type(), language_bool_type(), language_string_char_type(), lsscm_is_lazy_string(), lsscm_safe_lazy_string_to_value(), make_cleanup(), RETURN_MASK_ALL, target_charset(), TRY, value_copy(), value_cstring(), value_from_longest(), vlscm_convert_bytevector(), vlscm_convert_number(), vlscm_convert_typed_number(), vlscm_is_value(), vlscm_scm_to_value(), and xfree().

Referenced by gdbscm_make_value(), and vlscm_convert_value_from_scheme().

## ◆ vlscm_convert_value_from_scheme()

struct value* vlscm_convert_value_from_scheme | ( | const char * | func_name,
|  | int | obj_arg_pos,
|  | SCM | obj,
|  | SCM * | except_scmp,
|  | struct gdbarch * | gdbarch,
|  | const struct language_defn * | language
| ) |  |

Definition at line 903 of file scm-math.c.

References vlscm_convert_typed_value_from_scheme().

Referenced by gdbscm_value_call(), gdbscm_value_subscript(), ppscm_pretty_print_one_value(), ppscm_print_children(), vlscm_binop(), vlscm_rich_compare(), and vlscm_unop().

## ◆ vlscm_is_value()

int vlscm_is_value | ( | SCM | scm | ) |

Definition at line 231 of file scm-value.c.

References value_smob_tag.

Referenced by gdbscm_value_p(), ppscm_pretty_print_one_value(), vlscm_convert_typed_value_from_scheme(), vlscm_get_value_arg_unsafe(), and vlscm_scm_to_value().

## ◆ vlscm_scm_from_value()

SCM vlscm_scm_from_value | ( | struct value * | value | ) |

Definition at line 249 of file scm-value.c.

References release_value_or_incref(), _value_smob::value, vlscm_make_value_smob(), and vlscm_remember_scheme_value().

Referenced by gdbscm_apply_val_pretty_printer(), gdbscm_frame_read_register(), gdbscm_frame_read_var(), gdbscm_history_ref(), gdbscm_lazy_string_to_value(), gdbscm_make_lazy_value(), gdbscm_make_value(), gdbscm_parse_and_eval(), gdbscm_symbol_value(), gdbscm_value_address(), gdbscm_value_call(), gdbscm_value_dereference(), gdbscm_value_field(), gdbscm_value_referenced_value(), gdbscm_value_subscript(), vlscm_binop(), vlscm_do_cast(), and vlscm_unop().

## ◆ vlscm_scm_from_value_unsafe()

SCM vlscm_scm_from_value_unsafe | ( | struct value * | value | ) |

## ◆ vlscm_scm_to_value()

struct value* vlscm_scm_to_value | ( | SCM | scm | ) |

Definition at line 291 of file scm-value.c.

References gdb_assert, _value_smob::value, and vlscm_is_value().

Referenced by vlscm_convert_typed_value_from_scheme().

## Variable Documentation

## ◆ gdb_scheme_initialized

int gdb_scheme_initialized

Referenced by gdbscm_apply_val_pretty_printer(), and save_objfile_types().

## ◆ gdbscm_array_string

SCM gdbscm_array_string

## ◆ gdbscm_documentation_symbol

SCM gdbscm_documentation_symbol

Referenced by gdbscm_define_functions(), gdbscm_initialize_blocks(), and gdbscm_initialize_types().

## ◆ gdbscm_execute_objfile_script

objfile_script_executor_func gdbscm_execute_objfile_script

## ◆ gdbscm_guile_major_version

int gdbscm_guile_major_version

Definition at line 45 of file guile.c.

Referenced by gdbscm_guile_version_is_at_least().

## ◆ gdbscm_guile_micro_version

int gdbscm_guile_micro_version

Definition at line 47 of file guile.c.

Referenced by gdbscm_guile_version_is_at_least().

## ◆ gdbscm_guile_minor_version

int gdbscm_guile_minor_version

Definition at line 46 of file guile.c.

Referenced by gdbscm_guile_version_is_at_least().

## ◆ gdbscm_init_module_name

const char gdbscm_init_module_name[]

Referenced by gdbscm_print_exception_message(), and gdbscm_print_exception_with_stack().

## ◆ gdbscm_invalid_object_error_symbol

SCM gdbscm_invalid_object_error_symbol

Definition at line 77 of file scm-exception.c.

Referenced by gdbscm_initialize_exceptions(), and gdbscm_make_invalid_object_error().

## ◆ gdbscm_map_string

SCM gdbscm_map_string

## ◆ gdbscm_memory_error_p

excp_matcher_func gdbscm_memory_error_p

Referenced by ppscm_pretty_print_one_value(), ppscm_print_children(), ppscm_print_exception_unless_memory_error(), and ppscm_search_pp_list().

## ◆ gdbscm_module_name

const char gdbscm_module_name[]

## ◆ gdbscm_print_excp

const char* gdbscm_print_excp

Definition at line 70 of file guile.c.

Referenced by gdbscm_percent_exception_print_style(), and install_gdb_commands().

## ◆ gdbscm_print_excp_full

const char gdbscm_print_excp_full[]

Definition at line 54 of file guile.c.

Referenced by gdbscm_percent_exception_print_style().

## ◆ gdbscm_print_excp_message

const char gdbscm_print_excp_message[]

Definition at line 55 of file guile.c.

Referenced by gdbscm_percent_exception_print_style().

## ◆ gdbscm_print_excp_none

const char gdbscm_print_excp_none[]

Definition at line 53 of file guile.c.

Referenced by gdbscm_percent_exception_print_style().

## ◆ gdbscm_source_objfile_script

objfile_script_sourcer_func gdbscm_source_objfile_script

## ◆ gdbscm_string_string

SCM gdbscm_string_string

## ◆ gdbscm_user_error_p

excp_matcher_func gdbscm_user_error_p

Referenced by cmdscm_function(), pascm_set_func(), pascm_show_func(), and pascm_signal_setshow_error().