GDB (xrefs)
|
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 |
#define END_FUNCTIONS { NULL, 0, 0, 0, NULL, NULL } |
Definition at line 67 of file guile-internal.h.
#define END_INTEGER_CONSTANTS { NULL, 0 } |
Definition at line 77 of file guile-internal.h.
#define END_VARIABLES { NULL, SCM_BOOL_F, NULL } |
Definition at line 51 of file guile-internal.h.
#define FUNC_NAME __func__ |
Definition at line 117 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(), lsscm_safe_lazy_string_to_value(), ppscm_pretty_print_one_value(), ppscm_print_children(), tyscm_equal_p_type_smob(), and vlscm_do_cast().
#define GDB_SMOB_HEAD int empty_base_class; |
Definition at line 202 of file guile-internal.h.
#define GDBSCM_ARG_NONE 0 |
Definition at line 81 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().
#define GDBSCM_HANDLE_GDB_EXCEPTION | ( | exception | ) |
Definition at line 605 of file guile-internal.h.
Referenced by 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_lazy_string_to_value(), 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().
#define GDBSCM_HANDLE_GDB_EXCEPTION_WITH_CLEANUPS | ( | exception, | |
cleanups | |||
) |
Definition at line 616 of file guile-internal.h.
Referenced by gdbscm_arch_disassemble(), 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().
#define gdbscm_is_bool | ( | scm | ) | (scm_is_eq ((scm), SCM_BOOL_F) || scm_is_eq ((scm), SCM_BOOL_T)) |
Definition at line 95 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().
#define gdbscm_is_false | ( | scm | ) | scm_is_eq ((scm), SCM_BOOL_F) |
Definition at line 97 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().
#define gdbscm_is_true | ( | scm | ) | (!gdbscm_is_false (scm)) |
Definition at line 98 of file guile-internal.h.
Referenced by 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(), VEC(), and vlscm_convert_typed_value_from_scheme().
#define scm_is_bool USE_gdbscm_is_bool_INSTEAD |
Definition at line 92 of file guile-internal.h.
#define scm_is_false USE_gdbscm_is_false_INSTEAD |
Definition at line 93 of file guile-internal.h.
#define scm_is_true USE_gdbscm_is_true_INSTEAD |
Definition at line 94 of file guile-internal.h.
#define scm_make_smob_type USE_gdbscm_make_smob_type_INSTEAD |
Definition at line 85 of file guile-internal.h.
Referenced by gdbscm_make_smob_type().
typedef struct _arch_smob arch_smob |
Definition at line 378 of file guile-internal.h.
typedef struct _chained_gdb_smob chained_gdb_smob |
typedef struct _eqable_gdb_smob eqable_gdb_smob |
typedef int excp_matcher_func(SCM key) |
Definition at line 38 of file guile-internal.h.
typedef struct _frame_smob frame_smob |
Definition at line 409 of file guile-internal.h.
typedef int( gsmob_pred_func) (SCM) |
Definition at line 242 of file guile-internal.h.
typedef struct _iterator_smob iterator_smob |
Definition at line 420 of file guile-internal.h.
typedef struct _objfile_smob objfile_smob |
Definition at line 462 of file guile-internal.h.
typedef struct _pspace_smob pspace_smob |
Definition at line 472 of file guile-internal.h.
typedef struct _type_smob type_smob |
Definition at line 519 of file guile-internal.h.
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().
Definition at line 88 of file scm-arch.c.
References _arch_smob::gdbarch.
Referenced by gdbscm_arch_disassemble().
SCM arscm_scm_from_arch | ( | struct gdbarch * | gdbarch | ) |
Definition at line 128 of file scm-arch.c.
Referenced by gdbscm_current_arch(), and gdbscm_frame_arch().
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().
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().
struct frame_info* frscm_frame_smob_to_frame | ( | frame_smob * | ) |
Definition at line 347 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().
frame_smob* frscm_get_frame_smob_arg_unsafe | ( | SCM | frame_scm, |
int | arg_pos, | ||
const char * | func_name | ||
) |
Definition at line 324 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().
int frscm_is_frame | ( | SCM | scm | ) |
Definition at line 201 of file scm-frame.c.
References frame_smob_tag.
Referenced by frscm_get_frame_arg_unsafe(), and gdbscm_frame_p().
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.
enum ext_lang_rc gdbscm_apply_val_pretty_printer | ( | const struct extension_language_defn * | , |
struct type * | type, | ||
const gdb_byte * | valaddr, | ||
int | embedded_offset, | ||
CORE_ADDR | address, | ||
struct ui_file * | stream, | ||
int | recurse, | ||
const struct value * | val, | ||
const struct value_print_options * | options, | ||
const struct language_defn * | language | ||
) |
Definition at line 959 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, lval_computed, lval_internalvar, lval_internalvar_component, 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(), set_value_address(), set_value_component_location(), STRING_REPR_ERROR, STRING_REPR_NONE, TYPE_LENGTH, value_bytes_available(), value_from_contents_and_address(), VALUE_LVAL, and vlscm_scm_from_value().
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.
enum ext_lang_bp_stop gdbscm_breakpoint_cond_says_stop | ( | const struct extension_language_defn * | , |
struct breakpoint * | b | ||
) |
Definition at line 1063 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.
int gdbscm_breakpoint_has_cond | ( | const struct extension_language_defn * | , |
struct breakpoint * | b | ||
) |
Definition at line 1042 of file scm-breakpoint.c.
References gdbscm_is_procedure(), breakpoint::scm_bp_object, and gdbscm_breakpoint_object::stop.
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().
Definition at line 601 of file scm-cmd.c.
References FUNC_NAME.
Referenced by gdbscm_make_command(), and gdbscm_make_parameter().
void gdbscm_clear_eqable_gsmob_ptr_slot | ( | htab_t | htab, |
eqable_gdb_smob * | base | ||
) |
Definition at line 263 of file scm-gsmob.c.
References 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().
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().
void void gdbscm_debug_display | ( | SCM | obj | ) |
Definition at line 94 of file scm-utils.c.
void gdbscm_debug_write | ( | SCM | obj | ) |
Definition at line 106 of file scm-utils.c.
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().
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().
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.
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().
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().
void gdbscm_enter_repl | ( | void | ) |
Definition at line 461 of file scm-safe-call.c.
References gdbscm_safe_call_1().
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().
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().
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().
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().
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.
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().
char* gdbscm_gc_xstrdup | ( | const char * | ) |
Definition at line 587 of file scm-utils.c.
References len.
Referenced by gdbscm_make_breakpoint(), gdbscm_make_command(), gdbscm_make_parameter(), gdbscm_register_command_x(), and gdbscm_register_parameter_x().
Definition at line 629 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().
void gdbscm_init_chained_gsmob | ( | chained_gdb_smob * | base | ) |
Definition at line 123 of file scm-gsmob.c.
References gdbscm_init_gsmob(), _chained_gdb_smob::next, and _chained_gdb_smob::prev.
void gdbscm_init_eqable_gsmob | ( | eqable_gdb_smob * | base, |
SCM | containing_scm | ||
) |
Definition at line 135 of file scm-gsmob.c.
References _eqable_gdb_smob::containing_scm, 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().
void gdbscm_init_gsmob | ( | gdb_smob * | base | ) |
Definition at line 113 of file scm-gsmob.c.
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().
void gdbscm_initialize_arches | ( | void | ) |
Definition at line 647 of file scm-arch.c.
References 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().
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().
void gdbscm_initialize_blocks | ( | void | ) |
Definition at line 777 of file scm-block.c.
References 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_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().
void gdbscm_initialize_breakpoints | ( | void | ) |
Definition at line 1307 of file scm-breakpoint.c.
References bpscm_breakpoint_created(), bpscm_breakpoint_deleted(), bpscm_free_breakpoint_smob(), bpscm_print_breakpoint_smob(), 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.
void gdbscm_initialize_commands | ( | void | ) |
Definition at line 868 of file scm-cmd.c.
References cmdscm_print_command_smob(), command_class_keyword, 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.
void gdbscm_initialize_disasm | ( | void | ) |
Definition at line 346 of file scm-disasm.c.
References address_symbol, asm_symbol, count_keyword, gdbscm_define_functions(), length_symbol, offset_keyword, port_keyword, and size_keyword.
void gdbscm_initialize_exceptions | ( | void | ) |
Definition at line 675 of file scm-exception.c.
References error_symbol, 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, signal_symbol, user_error_symbol, and with_stack_error_symbol.
void gdbscm_initialize_frames | ( | void | ) |
Definition at line 1162 of file scm-frame.c.
References block_keyword, 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().
void gdbscm_initialize_iterators | ( | void | ) |
Definition at line 349 of file scm-iterator.c.
References end_of_iteration, gdbscm_define_functions(), gdbscm_make_smob_type(), iterator_smob_name, iterator_smob_tag, and itscm_print_iterator_smob().
void gdbscm_initialize_lazy_strings | ( | void | ) |
Definition at line 354 of file scm-lazy-string.c.
References gdbscm_define_functions(), gdbscm_make_smob_type(), lazy_string_smob_name, lazy_string_smob_tag, lsscm_free_lazy_string_smob(), and lsscm_print_lazy_string_smob().
void gdbscm_initialize_math | ( | void | ) |
Definition at line 1008 of file scm-math.c.
References gdbscm_define_functions().
void gdbscm_initialize_objfiles | ( | void | ) |
Definition at line 429 of file scm-objfile.c.
References gdbscm_define_functions(), gdbscm_make_smob_type(), objfile_smob_name, objfile_smob_tag, ofscm_handle_objfile_deleted(), ofscm_objfile_data_key, and ofscm_print_objfile_smob().
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_smob_tag, parameter_type_keyword, pascm_print_param_smob(), set_doc_keyword, set_func_keyword, show_doc_keyword, show_func_keyword, and unlimited_keyword.
void gdbscm_initialize_ports | ( | void | ) |
Definition at line 1388 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, size_keyword, start_keyword, and xstrprintf().
void gdbscm_initialize_pretty_printers | ( | void | ) |
Definition at line 1109 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_list, pretty_printer_smob_name, pretty_printer_smob_tag, pretty_printer_worker_smob_name, and pretty_printer_worker_smob_tag.
void gdbscm_initialize_pspaces | ( | void | ) |
Definition at line 415 of file scm-progspace.c.
References gdbscm_define_functions(), gdbscm_make_smob_type(), pspace_smob_name, pspace_smob_tag, psscm_handle_pspace_deleted(), psscm_print_pspace_smob(), and psscm_pspace_data_key.
void gdbscm_initialize_smobs | ( | void | ) |
Definition at line 286 of file scm-gsmob.c.
References eq_scm_t_bits(), gdbscm_define_functions(), hash_scm_t_bits(), registered_gsmobs, xcalloc(), and xfree().
void gdbscm_initialize_strings | ( | void | ) |
Definition at line 280 of file scm-string.c.
References gdbscm_define_functions().
void gdbscm_initialize_symbols | ( | void | ) |
Definition at line 802 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_smob_name, symbol_smob_tag, syscm_del_objfile_symbols(), syscm_free_symbol_smob(), syscm_init_arch_symbols(), syscm_objfile_data_key, and syscm_print_symbol_smob().
void gdbscm_initialize_symtabs | ( | void | ) |
Definition at line 681 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_smob_name, and symtab_smob_tag.
void gdbscm_initialize_types | ( | void | ) |
Definition at line 1490 of file scm-type.c.
References 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_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().
void gdbscm_initialize_values | ( | void | ) |
Definition at line 1578 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_smob_name, value_smob_tag, vlscm_equal_p_value_smob(), vlscm_free_value_smob(), and vlscm_print_value_smob().
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().
int gdbscm_is_exception | ( | SCM | scm | ) |
Definition at line 147 of file scm-exception.c.
References exception_smob_tag.
Referenced by 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(), VEC(), vlscm_binop(), vlscm_do_cast(), and vlscm_unop().
int gdbscm_is_procedure | ( | SCM | proc | ) |
Definition at line 579 of file scm-utils.c.
References gdbscm_is_true.
Referenced by 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(), ppscm_search_pp_list(), and VEC().
Definition at line 220 of file scm-exception.c.
References 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().
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 gdbscm_make_exception().
Referenced by gdbscm_make_error().
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().
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().
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().
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().
Definition at line 382 of file scm-exception.c.
References gdbscm_make_error(), and memory_error_symbol.
Referenced by gdbscm_memory_error().
Definition at line 361 of file scm-exception.c.
References gdbscm_make_arg_error().
Referenced by gdbscm_misc_error(), and vlscm_convert_typed_value_from_scheme().
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 _, and gdbscm_make_arg_error().
Referenced by gdbscm_lazy_string_to_value(), 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().
scm_t_bits gdbscm_make_smob_type | ( | const char * | name, |
size_t | size | ||
) |
Definition at line 102 of file scm-gsmob.c.
References register_gsmob(), and scm_make_smob_type.
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().
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().
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().
Definition at line 371 of file scm-exception.c.
References gdbscm_make_misc_error(), and gdbscm_throw().
Referenced by gdbscm_make_breakpoint(), gdbscm_make_parameter(), and gdbscm_register_parameter_x().
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 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_real(), ioscm_parse_mode_bits(), pascm_set_param_value_x(), and tyscm_array_1().
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 480 of file scm-cmd.c.
References _, CMD_LIST_AMBIGUOUS, gdbscm_dynwind_xfree(), gdbscm_out_of_range_error(), gdbscm_scm_from_c_string(), len, lookup_cmd_1(), cmd_list_element::prefixlist, xfree(), xmalloc(), and xstrprintf().
Referenced by gdbscm_register_command_x(), and gdbscm_register_parameter_x().
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(), type::length, 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().
void gdbscm_preserve_values | ( | const struct extension_language_defn * | , |
struct objfile * | , | ||
htab_t | copied_types | ||
) |
Definition at line 87 of file scm-value.c.
References _value_smob::next, preserve_one_value(), and _value_smob::value.
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().
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_function(), pascm_set_func(), pascm_show_func(), pascm_signal_setshow_error(), ppscm_print_exception_unless_memory_error(), ppscm_print_pp_type_error(), and VEC().
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().
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.
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().
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().
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().
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().
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_function(), and VEC().
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().
Definition at line 397 of file scm-safe-call.c.
References gdbscm_with_guile(), scscm_eval_scheme_string(), and string.
Referenced by gdbscm_execute_objfile_script().
char* gdbscm_safe_source_script | ( | const char * | filename | ) |
Definition at line 433 of file scm-safe-call.c.
References gdb_realpath(), gdbscm_with_guile(), scscm_source_scheme_script(), and xfree().
Referenced by gdbscm_source_objfile_script().
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().
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().
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(), and host_charset().
Referenced by pascm_param_value(), and pascm_show_func().
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().
SCM gdbscm_scm_from_printf | ( | const char * | format, |
... | |||
) |
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, len, scm_from_stringn_data::result, string, and scm_from_stringn_data::string.
Referenced by cmdscm_function(), gdbscm_scm_from_host_string(), and VEC().
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().
int gdbscm_scm_string_to_int | ( | SCM | string | ) |
Definition at line 31 of file scm-string.c.
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().
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().
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().
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().
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().
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_type_print_name(), 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_print_type_smob(), vlscm_binop(), vlscm_do_cast(), vlscm_rich_compare(), and vlscm_unop().
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().
SCM gdbscm_unsafe_call_1 | ( | SCM | proc, |
SCM | arg0 | ||
) |
Definition at line 356 of file scm-safe-call.c.
Definition at line 579 of file scm-cmd.c.
References scheme_integer_constant::name.
Referenced by gdbscm_make_command(), and gdbscm_make_parameter().
void* gdbscm_with_guile | ( | void *(*)(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().
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().
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().
int itscm_is_iterator | ( | SCM | scm | ) |
Definition at line 172 of file scm-iterator.c.
References iterator_smob_tag.
Referenced by gdbscm_iterator_p(), itscm_get_iterator_arg_unsafe(), itscm_safe_call_next_x(), ppscm_print_children(), and VEC().
const char* itscm_iterator_smob_name | ( | void | ) |
Definition at line 88 of file scm-iterator.c.
References iterator_smob_name.
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().
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().
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 ppscm_print_children(), and VEC().
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().
int lsscm_is_lazy_string | ( | SCM | scm | ) |
Definition at line 130 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().
SCM lsscm_make_lazy_string | ( | CORE_ADDR | address, |
int | length, | ||
const char * | encoding, | ||
struct type * | type | ||
) |
Definition at line 147 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().
struct value* lsscm_safe_lazy_string_to_value | ( | SCM | string, |
int | arg_pos, | ||
const char * | func_name, | ||
SCM * | except_scmp | ||
) |
Definition at line 269 of file scm-lazy-string.c.
References _, lazy_string_smob::address, CATCH, END_CATCH, FUNC_NAME, gdb_assert, gdbscm_make_out_of_range_error(), gdbscm_scm_from_gdb_exception(), lsscm_is_lazy_string(), RETURN_MASK_ALL, TRY, lazy_string_smob::type, and value_at_lazy().
Referenced by vlscm_convert_typed_value_from_scheme().
void lsscm_val_print_lazy_string | ( | SCM | string, |
struct ui_file * | stream, | ||
const struct value_print_options * | options | ||
) |
Definition at line 306 of file scm-lazy-string.c.
References lazy_string_smob::address, lazy_string_smob::encoding, gdb_assert, lazy_string_smob::length, lsscm_is_lazy_string(), lazy_string_smob::type, and val_print_string().
Referenced by ppscm_print_children(), and ppscm_print_string_repr().
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().
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().
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().
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().
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().
SCM psscm_scm_from_pspace | ( | struct program_space * | ) |
Definition at line 179 of file scm-progspace.c.
References _pspace_smob::containing_scm, and psscm_pspace_smob_from_pspace().
Referenced by gdbscm_current_progspace(), gdbscm_objfile_progspace(), and gdbscm_progspaces().
|
inlinestatic |
Definition at line 105 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().
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().
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().
Definition at line 284 of file scm-symbol.c.
References symbol_smob::symbol, and syscm_get_valid_symbol_smob_arg_unsafe().
Referenced by gdbscm_frame_read_var().
int syscm_is_symbol | ( | SCM | scm | ) |
Definition at line 189 of file scm-symbol.c.
References symbol_smob_tag.
Referenced by gdbscm_frame_read_var(), gdbscm_symbol_p(), and syscm_get_symbol_arg_unsafe().
SCM syscm_scm_from_symbol | ( | struct symbol * | symbol | ) |
Definition at line 206 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().
Definition at line 342 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().
int tyscm_is_type | ( | SCM | scm | ) |
Definition at line 286 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(), and tyscm_get_type_arg_unsafe().
SCM tyscm_scm_from_field | ( | SCM | type_scm, |
int | field_num | ||
) |
Definition at line 466 of file scm-type.c.
References tyscm_make_field_smob().
SCM tyscm_scm_from_type | ( | struct type * | type | ) |
Definition at line 303 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_lazy_string_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(), and tyscm_array_1().
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().
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 747 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(), len, 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().
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 893 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().
int vlscm_is_value | ( | SCM | scm | ) |
Definition at line 240 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().
SCM vlscm_scm_from_value | ( | struct value * | value | ) |
Definition at line 258 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().
SCM vlscm_scm_from_value_unsafe | ( | struct value * | value | ) |
struct value* vlscm_scm_to_value | ( | SCM | scm | ) |
Definition at line 300 of file scm-value.c.
References gdb_assert, _value_smob::value, and vlscm_is_value().
Referenced by vlscm_convert_typed_value_from_scheme().
int gdb_scheme_initialized |
Referenced by gdbscm_apply_val_pretty_printer(), and save_objfile_types().
SCM gdbscm_array_string |
SCM gdbscm_documentation_symbol |
Referenced by gdbscm_define_functions(), gdbscm_initialize_blocks(), and gdbscm_initialize_types().
objfile_script_executor_func gdbscm_execute_objfile_script |
int gdbscm_guile_major_version |
Definition at line 45 of file guile.c.
Referenced by gdbscm_guile_version_is_at_least().
int gdbscm_guile_micro_version |
Definition at line 47 of file guile.c.
Referenced by gdbscm_guile_version_is_at_least().
int gdbscm_guile_minor_version |
Definition at line 46 of file guile.c.
Referenced by gdbscm_guile_version_is_at_least().
const char gdbscm_init_module_name[] |
Referenced by gdbscm_print_exception_message(), and gdbscm_print_exception_with_stack().
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().
SCM gdbscm_map_string |
excp_matcher_func gdbscm_memory_error_p |
const char gdbscm_module_name[] |
const char* gdbscm_print_excp |
Definition at line 70 of file guile.c.
Referenced by gdbscm_percent_exception_print_style(), and install_gdb_commands().
const char gdbscm_print_excp_full[] |
Definition at line 54 of file guile.c.
Referenced by gdbscm_percent_exception_print_style().
const char gdbscm_print_excp_message[] |
Definition at line 55 of file guile.c.
Referenced by gdbscm_percent_exception_print_style().
const char gdbscm_print_excp_none[] |
Definition at line 53 of file guile.c.
Referenced by gdbscm_percent_exception_print_style().
objfile_script_sourcer_func gdbscm_source_objfile_script |
SCM gdbscm_string_string |
excp_matcher_func gdbscm_user_error_p |
Referenced by cmdscm_function(), pascm_set_func(), pascm_show_func(), and pascm_signal_setshow_error().