GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions | Variables
guile-internal.h File Reference
#include "hashtab.h"
#include "extension-priv.h"
#include "symtab.h"
#include "libguile.h"
#include "objfiles.h"
#include "top.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
 
struct  gdbscm_gdb_exception
 

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)
 

Typedefs

typedef int excp_matcher_func(SCM key)
 
typedef int gsmob_pred_func(SCM)
 

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)
 
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 (const gdbscm_gdb_exception &exception)
 
void gdbscm_throw_gdb_exception (gdbscm_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)
 
gdb::unique_xmalloc_ptr< 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)
 
gdb::unique_xmalloc_ptr< char > gdbscm_safe_eval_string (const char *string, int display_result)
 
gdb::unique_xmalloc_ptr< char > gdbscm_safe_source_script (const char *filename)
 
void gdbscm_enter_repl (void)
 
struct gdbarcharscm_get_gdbarch (arch_smob *a_smob)
 
arch_smobarscm_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 blockbkscm_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_smobfrscm_get_frame_smob_arg_unsafe (SCM frame_scm, int arg_pos, const char *func_name)
 
struct frame_info_ptr 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 valuelsscm_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_smobofscm_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_smobpsscm_pspace_smob_from_pspace (struct program_space *)
 
SCM psscm_scm_from_pspace (struct program_space *)
 
int gdbscm_scm_string_to_int (SCM string)
 
gdb::unique_xmalloc_ptr< 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 gdb::unique_xmalloc_ptr< 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)
 
gdb::unique_xmalloc_ptr< 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 symbolsyscm_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_smobtyscm_get_type_smob_arg_unsafe (SCM type_scm, int arg_pos, const char *func_name)
 
struct typetyscm_scm_to_type (SCM t_scm)
 
struct typetyscm_type_smob_type (type_smob *t_smob)
 
SCM tyscm_scm_from_field (SCM type_scm, int field_num)
 
struct valuevlscm_scm_to_value (SCM scm)
 
int vlscm_is_value (SCM scm)
 
SCM vlscm_scm_from_value (struct value *value)
 
SCM vlscm_scm_from_value_no_release (struct value *value)
 
struct valuevlscm_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 valuevlscm_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)
 
bool 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 value *val, struct ui_file *stream, int recurse, 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)
 
gdbscm_gdb_exception unpack (const gdb_exception &exc)
 
template<typename Function , typename... Args>
SCM gdbscm_wrap (Function &&func, Args &&... args)
 

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 106 of file guile-internal.h.

◆ END_INTEGER_CONSTANTS

#define END_INTEGER_CONSTANTS   { NULL, 0 }

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

◆ END_VARIABLES

#define END_VARIABLES   { NULL, SCM_BOOL_F, NULL }

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

◆ FUNC_NAME

#define FUNC_NAME   __func__

Definition at line 156 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_temporary(), 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_range(), gdbscm_memory_port_read(), 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_reference_value(), 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_const_value(), 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_read_from_port(), 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 241 of file guile-internal.h.

◆ GDBSCM_ARG_NONE

#define GDBSCM_ARG_NONE   0

◆ 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 679 of file guile-internal.h.

Referenced by gdbscm_arch_disassemble(), gdbscm_breakpoint_commands(), 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_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_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_print(), 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_wrap(), ioscm_write(), tyscm_array_1(), tyscm_equal_p_type_smob(), tyscm_get_composite(), vlscm_equal_p_value_smob(), and vlscm_print_value_smob().

◆ gdbscm_is_bool

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

◆ gdbscm_is_false

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

◆ gdbscm_is_true

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

◆ scm_is_bool

#define scm_is_bool   USE_gdbscm_is_bool_INSTEAD

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

◆ scm_is_false

#define scm_is_false   USE_gdbscm_is_false_INSTEAD

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

◆ scm_is_true

#define scm_is_true   USE_gdbscm_is_true_INSTEAD

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

◆ scm_make_smob_type

#define scm_make_smob_type   USE_gdbscm_make_smob_type_INSTEAD

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

Referenced by gdbscm_make_smob_type().

Typedef Documentation

◆ excp_matcher_func

typedef int excp_matcher_func(SCM key)

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

◆ gsmob_pred_func

typedef int gsmob_pred_func(SCM)

Definition at line 280 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 )
extern

◆ arscm_get_gdbarch()

struct gdbarch * arscm_get_gdbarch ( arch_smob * a_smob)
extern

Definition at line 90 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)
extern

◆ as_a_scm_t_subr() [1/4]

static scm_t_subr as_a_scm_t_subr ( SCM(*)(SCM) func)
inlinestatic

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

References func.

◆ as_a_scm_t_subr() [2/4]

static scm_t_subr as_a_scm_t_subr ( SCM(*)(SCM, SCM) func)
inlinestatic

Definition at line 81 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, SCM) func)
inlinestatic

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

References func.

◆ as_a_scm_t_subr() [4/4]

static scm_t_subr as_a_scm_t_subr ( SCM(*)(void) func)
inlinestatic

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

References func.

Referenced by gdbscm_initialize_blocks(), and gdbscm_initialize_types().

◆ bkscm_scm_from_block()

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

◆ bkscm_scm_to_block()

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

◆ frscm_frame_smob_to_frame()

struct frame_info_ptr frscm_frame_smob_to_frame ( frame_smob * f_smob)
extern

◆ frscm_get_frame_smob_arg_unsafe()

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

◆ frscm_is_frame()

int frscm_is_frame ( SCM scm)
extern

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

References frame_smob_tag.

Referenced by frscm_get_frame_arg_unsafe(), and gdbscm_frame_p().

◆ gdbscm_apply_val_pretty_printer()

enum ext_lang_rc gdbscm_apply_val_pretty_printer ( const struct extension_language_defn * extlang,
struct value * val,
struct ui_file * stream,
int recurse,
const struct value_print_options * options,
const struct language_defn * language )
extern

◆ gdbscm_auto_load_enabled()

bool gdbscm_auto_load_enabled ( const struct extension_language_defn * extlang)
extern

Definition at line 47 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 * extlang,
struct breakpoint * b )
extern

◆ gdbscm_breakpoint_has_cond()

int gdbscm_breakpoint_has_cond ( const struct extension_language_defn * extlang,
struct breakpoint * b )
extern

◆ gdbscm_call_guile()

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

◆ gdbscm_canonicalize_command_name()

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

Definition at line 583 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 )
extern

◆ gdbscm_create_eqable_gsmob_ptr_map()

htab_t gdbscm_create_eqable_gsmob_ptr_map ( htab_hash hash_fn,
htab_eq eq_fn )
extern

◆ gdbscm_debug_display()

void void gdbscm_debug_display ( SCM obj)
extern

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

◆ gdbscm_debug_write()

void gdbscm_debug_write ( SCM obj)
extern

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

◆ gdbscm_define_functions()

void gdbscm_define_functions ( const scheme_function * functions,
int is_public )
extern

◆ gdbscm_define_integer_constants()

void gdbscm_define_integer_constants ( const scheme_integer_constant * constants,
int is_public )
extern

◆ gdbscm_define_variables()

void gdbscm_define_variables ( const scheme_variable * variables,
int is_public )
extern

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)
extern

Definition at line 584 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 )
extern

Definition at line 188 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 )
extern

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

References gdbscm_safe_call_1().

◆ gdbscm_exception_args()

SCM gdbscm_exception_args ( SCM excp)
extern

◆ gdbscm_exception_key()

SCM gdbscm_exception_key ( SCM excp)
extern

◆ gdbscm_exception_message_to_string()

gdb::unique_xmalloc_ptr< char > gdbscm_exception_message_to_string ( SCM exception)
extern

◆ gdbscm_fill_eqable_gsmob_ptr_slot()

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

◆ gdbscm_find_eqable_gsmob_ptr_slot()

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

◆ gdbscm_gc_dup_argv()

const char *const * gdbscm_gc_dup_argv ( char ** argv)
extern

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

Referenced by compute_enum_list().

◆ gdbscm_gc_xstrdup()

char * gdbscm_gc_xstrdup ( const char * str)
extern

◆ gdbscm_guile_version_is_at_least()

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

◆ gdbscm_init_chained_gsmob()

void gdbscm_init_chained_gsmob ( chained_gdb_smob * base)
extern

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

References gdbscm_init_gsmob(), chained_gdb_smob::next, and chained_gdb_smob::prev.

◆ gdbscm_init_eqable_gsmob()

void gdbscm_init_eqable_gsmob ( eqable_gdb_smob * base,
SCM containing_scm )
extern

◆ gdbscm_init_gsmob()

void gdbscm_init_gsmob ( gdb_smob * base)
extern

◆ gdbscm_initialize_arches()

void gdbscm_initialize_arches ( void )
extern

◆ gdbscm_initialize_auto_load()

void gdbscm_initialize_auto_load ( void )
extern

◆ gdbscm_initialize_blocks()

void gdbscm_initialize_blocks ( void )
extern

◆ gdbscm_initialize_breakpoints()

void gdbscm_initialize_breakpoints ( void )
extern

◆ gdbscm_initialize_commands()

void gdbscm_initialize_commands ( void )
extern

◆ gdbscm_initialize_disasm()

void gdbscm_initialize_disasm ( void )
extern

◆ gdbscm_initialize_exceptions()

void gdbscm_initialize_exceptions ( void )
extern

◆ gdbscm_initialize_frames()

void gdbscm_initialize_frames ( void )
extern

◆ gdbscm_initialize_iterators()

void gdbscm_initialize_iterators ( void )
extern

◆ gdbscm_initialize_lazy_strings()

void gdbscm_initialize_lazy_strings ( void )
extern

◆ gdbscm_initialize_math()

void gdbscm_initialize_math ( void )
extern

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

References gdbscm_define_functions(), and math_functions.

◆ gdbscm_initialize_objfiles()

void gdbscm_initialize_objfiles ( void )
extern

◆ gdbscm_initialize_parameters()

void gdbscm_initialize_parameters ( void )
extern

◆ gdbscm_initialize_ports()

void gdbscm_initialize_ports ( void )
extern

◆ gdbscm_initialize_pretty_printers()

void gdbscm_initialize_pretty_printers ( void )
extern

◆ gdbscm_initialize_pspaces()

void gdbscm_initialize_pspaces ( void )
extern

◆ gdbscm_initialize_smobs()

void gdbscm_initialize_smobs ( void )
extern

◆ gdbscm_initialize_strings()

void gdbscm_initialize_strings ( void )
extern

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

References gdbscm_define_functions(), and string_functions.

◆ gdbscm_initialize_symbols()

void gdbscm_initialize_symbols ( void )
extern

◆ gdbscm_initialize_symtabs()

void gdbscm_initialize_symtabs ( void )
extern

◆ gdbscm_initialize_types()

void gdbscm_initialize_types ( void )
extern

◆ gdbscm_initialize_values()

void gdbscm_initialize_values ( void )
extern

◆ gdbscm_invalid_object_error()

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

◆ gdbscm_is_exception()

int gdbscm_is_exception ( SCM scm)
extern

◆ gdbscm_is_procedure()

int gdbscm_is_procedure ( SCM proc)
extern

◆ gdbscm_make_error()

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

◆ gdbscm_make_error_scm()

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

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

References gdbscm_make_exception().

Referenced by gdbscm_make_error().

◆ gdbscm_make_exception()

SCM gdbscm_make_exception ( SCM tag,
SCM args )
extern

◆ gdbscm_make_exception_with_stack()

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

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 )
extern

◆ gdbscm_make_iterator()

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

◆ gdbscm_make_memory_error()

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

Definition at line 380 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 )
extern

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

References 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 )
extern

◆ gdbscm_make_smob_type()

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

◆ gdbscm_make_type_error()

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

◆ gdbscm_memory_error()

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

◆ gdbscm_misc_error()

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

◆ gdbscm_out_of_range_error()

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

◆ 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 )
extern

◆ gdbscm_parse_function_args()

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

◆ gdbscm_preserve_values()

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

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

References value_smob::next, value::preserve(), 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 )
extern

◆ gdbscm_print_gdb_exception()

void gdbscm_print_gdb_exception ( SCM port,
SCM exception )
extern

◆ gdbscm_printf()

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

◆ gdbscm_safe_apply_1()

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

Definition at line 332 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 )
extern

Definition at line 240 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 )
extern

◆ gdbscm_safe_call_2()

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

Definition at line 276 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 )
extern

Definition at line 294 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 )
extern

◆ gdbscm_safe_eval_string()

gdb::unique_xmalloc_ptr< char > gdbscm_safe_eval_string ( const char * string,
int display_result )
extern

◆ gdbscm_safe_source_script()

gdb::unique_xmalloc_ptr< char > gdbscm_safe_source_script ( const char * filename)
extern

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

References 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)
extern

◆ gdbscm_scm_from_gdb_exception()

SCM gdbscm_scm_from_gdb_exception ( const gdbscm_gdb_exception & exception)
extern

◆ gdbscm_scm_from_host_string()

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

◆ gdbscm_scm_from_longest()

SCM gdbscm_scm_from_longest ( LONGEST l)
extern

◆ gdbscm_scm_from_printf()

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

◆ gdbscm_scm_from_string()

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

◆ gdbscm_scm_from_ulongest()

SCM gdbscm_scm_from_ulongest ( ULONGEST l)
extern

◆ gdbscm_scm_string_to_int()

int gdbscm_scm_string_to_int ( SCM string)
extern

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

◆ gdbscm_scm_to_c_string()

gdb::unique_xmalloc_ptr< char > gdbscm_scm_to_c_string ( SCM string)
extern

◆ gdbscm_scm_to_host_string()

gdb::unique_xmalloc_ptr< char > gdbscm_scm_to_host_string ( SCM string,
size_t * lenp,
SCM * except )
extern

◆ gdbscm_scm_to_longest()

LONGEST gdbscm_scm_to_longest ( SCM l)
extern

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

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

◆ gdbscm_scm_to_string()

SCM gdb::unique_xmalloc_ptr< char > gdbscm_scm_to_string ( SCM string,
size_t * lenp,
const char * charset,
int strict,
SCM * except_scmp )
extern

◆ gdbscm_scm_to_ulongest()

ULONGEST gdbscm_scm_to_ulongest ( SCM u)
extern

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

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

◆ gdbscm_throw()

void gdbscm_throw ( SCM exception)
extern

◆ gdbscm_throw_gdb_exception()

void gdbscm_throw_gdb_exception ( gdbscm_gdb_exception exception)
extern

◆ gdbscm_unsafe_call_1()

SCM gdbscm_unsafe_call_1 ( SCM proc,
SCM arg0 )
extern

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

◆ gdbscm_valid_command_class_p()

int gdbscm_valid_command_class_p ( int command_class)
extern

Definition at line 561 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 )
extern

◆ gdbscm_wrap()

template<typename Function , typename... Args>
SCM gdbscm_wrap ( Function && func,
Args &&... args )

◆ itscm_get_iterator_arg_unsafe()

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

◆ itscm_is_end_of_iteration()

int itscm_is_end_of_iteration ( SCM obj)
extern

Definition at line 196 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)
extern

◆ itscm_iterator_smob_name()

const char * itscm_iterator_smob_name ( void )
extern

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

References iterator_smob_name.

◆ itscm_iterator_smob_object()

SCM itscm_iterator_smob_object ( iterator_smob * i_smob)
extern

Definition at line 93 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)
extern

Definition at line 99 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 )
extern

◆ itscm_set_iterator_smob_progress_x()

void itscm_set_iterator_smob_progress_x ( iterator_smob * i_smob,
SCM progress )
extern

Definition at line 105 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)
extern

◆ lsscm_make_lazy_string()

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

◆ 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 )
extern

◆ lsscm_val_print_lazy_string()

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

◆ ofscm_objfile_smob_from_objfile()

objfile_smob * ofscm_objfile_smob_from_objfile ( struct objfile * objfile)
extern

◆ ofscm_objfile_smob_pretty_printers()

SCM ofscm_objfile_smob_pretty_printers ( objfile_smob * o_smob)
extern

Definition at line 68 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)
extern

◆ psscm_pspace_smob_from_pspace()

pspace_smob * psscm_pspace_smob_from_pspace ( struct program_space * pspace)
extern

◆ psscm_pspace_smob_pretty_printers()

SCM psscm_pspace_smob_pretty_printers ( const pspace_smob * p_smob)
extern

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

References pspace_smob::pretty_printers.

Referenced by ppscm_find_pretty_printer_from_progspace().

◆ psscm_scm_from_pspace()

SCM psscm_scm_from_pspace ( struct program_space * pspace)
extern

◆ scm_new_smob()

static SCM scm_new_smob ( scm_t_bits tc,
scm_t_bits data )
inlinestatic

◆ stscm_scm_from_sal()

SCM stscm_scm_from_sal ( struct symtab_and_line sal)
extern

◆ stscm_scm_from_symtab()

SCM stscm_scm_from_symtab ( struct symtab * symtab)
extern

◆ syscm_get_valid_symbol_arg_unsafe()

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

Definition at line 308 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)
extern

Definition at line 213 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)
extern

◆ tyscm_get_type_smob_arg_unsafe()

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

◆ tyscm_is_type()

int tyscm_is_type ( SCM scm)
extern

◆ tyscm_scm_from_field()

SCM tyscm_scm_from_field ( SCM type_scm,
int field_num )
extern

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

References tyscm_make_field_smob().

◆ tyscm_scm_from_type()

SCM tyscm_scm_from_type ( struct type * type)
extern

◆ tyscm_scm_to_type()

struct type * tyscm_scm_to_type ( SCM t_scm)
extern

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

References 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)
extern

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

References type_smob::type.

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

◆ unpack()

gdbscm_gdb_exception unpack ( const gdb_exception & exc)
inline

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

References gdbscm_gdb_exception::error, gdbscm_gdb_exception::message, and gdbscm_gdb_exception::reason.

Referenced by frscm_scm_from_frame(), gdbscm_arch_disassemble(), gdbscm_breakpoint_commands(), 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_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_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_print(), 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_wrap(), ioscm_write(), lsscm_safe_lazy_string_to_value(), tyscm_array_1(), tyscm_equal_p_type_smob(), tyscm_get_composite(), tyscm_type_name(), vlscm_convert_typed_value_from_scheme(), vlscm_equal_p_value_smob(), and vlscm_print_value_smob().

◆ 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 )
extern

◆ 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 )
extern

◆ vlscm_is_value()

int vlscm_is_value ( SCM scm)
extern

◆ vlscm_scm_from_value()

SCM vlscm_scm_from_value ( struct value * value)
extern

◆ vlscm_scm_from_value_no_release()

SCM vlscm_scm_from_value_no_release ( struct value * value)
extern

◆ vlscm_scm_to_value()

struct value * vlscm_scm_to_value ( SCM scm)
extern

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

References value_smob::value, and vlscm_is_value().

Referenced by vlscm_convert_typed_value_from_scheme().

Variable Documentation

◆ gdb_scheme_initialized

int gdb_scheme_initialized
extern

◆ gdbscm_array_string

SCM gdbscm_array_string
extern

◆ gdbscm_documentation_symbol

SCM gdbscm_documentation_symbol
extern

◆ gdbscm_execute_objfile_script

objfile_script_executor_func gdbscm_execute_objfile_script
extern

◆ gdbscm_guile_major_version

int gdbscm_guile_major_version
extern

Definition at line 47 of file guile.c.

Referenced by gdbscm_guile_version_is_at_least().

◆ gdbscm_guile_micro_version

int gdbscm_guile_micro_version
extern

Definition at line 49 of file guile.c.

Referenced by gdbscm_guile_version_is_at_least().

◆ gdbscm_guile_minor_version

int gdbscm_guile_minor_version
extern

Definition at line 48 of file guile.c.

Referenced by gdbscm_guile_version_is_at_least().

◆ gdbscm_init_module_name

const char gdbscm_init_module_name[]
extern

◆ gdbscm_invalid_object_error_symbol

SCM gdbscm_invalid_object_error_symbol
extern

◆ gdbscm_map_string

SCM gdbscm_map_string
extern

◆ gdbscm_memory_error_p

excp_matcher_func gdbscm_memory_error_p
extern

◆ gdbscm_module_name

const char gdbscm_module_name[]
extern

◆ gdbscm_print_excp

const char* gdbscm_print_excp
extern

Definition at line 74 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[]
extern

Definition at line 58 of file guile.c.

Referenced by gdbscm_percent_exception_print_style().

◆ gdbscm_print_excp_message

const char gdbscm_print_excp_message[]
extern

Definition at line 59 of file guile.c.

Referenced by gdbscm_percent_exception_print_style().

◆ gdbscm_print_excp_none

const char gdbscm_print_excp_none[]
extern

Definition at line 57 of file guile.c.

Referenced by gdbscm_percent_exception_print_style().

◆ gdbscm_source_objfile_script

objfile_script_sourcer_func gdbscm_source_objfile_script
extern

◆ gdbscm_string_string

SCM gdbscm_string_string
extern

◆ gdbscm_user_error_p

excp_matcher_func gdbscm_user_error_p
extern