GDB (xrefs)
|
#include "defs.h"
#include "charset.h"
#include "value.h"
#include "valprint.h"
#include "language.h"
#include "guile-internal.h"
Go to the source code of this file.
Classes | |
struct | lazy_string_smob |
Variables | |
static const char | lazy_string_smob_name [] = "gdb:lazy-string" |
static scm_t_bits | lazy_string_smob_tag |
static const scheme_function | lazy_string_functions [] |
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().
|
static |
Definition at line 184 of file scm-lazy-string.c.
References lazy_string_smob::address, FUNC_NAME, gdbscm_scm_from_ulongest(), and lsscm_get_lazy_string_arg_unsafe().
|
static |
Definition at line 206 of file scm-lazy-string.c.
References lazy_string_smob::encoding, FUNC_NAME, gdbscm_scm_from_c_string(), and lsscm_get_lazy_string_arg_unsafe().
|
static |
Definition at line 195 of file scm-lazy-string.c.
References FUNC_NAME, lazy_string_smob::length, and lsscm_get_lazy_string_arg_unsafe().
|
static |
Definition at line 138 of file scm-lazy-string.c.
References lsscm_is_lazy_string().
|
static |
Definition at line 232 of file scm-lazy-string.c.
References _, lazy_string_smob::address, CATCH, END_CATCH, FUNC_NAME, GDBSCM_HANDLE_GDB_EXCEPTION, gdbscm_make_out_of_range_error(), gdbscm_throw(), lsscm_get_lazy_string_arg_unsafe(), RETURN_MASK_ALL, TRY, lazy_string_smob::type, value_at_lazy(), and vlscm_scm_from_value().
|
static |
Definition at line 221 of file scm-lazy-string.c.
References FUNC_NAME, lsscm_get_lazy_string_arg_unsafe(), lazy_string_smob::type, and tyscm_scm_from_type().
|
static |
Definition at line 67 of file scm-lazy-string.c.
References lazy_string_smob::encoding, and xfree().
Referenced by gdbscm_initialize_lazy_strings().
|
static |
Definition at line 171 of file scm-lazy-string.c.
References lazy_string_smob_name, and lsscm_is_lazy_string().
Referenced by gdbscm_lazy_string_address(), gdbscm_lazy_string_encoding(), gdbscm_lazy_string_length(), gdbscm_lazy_string_to_value(), and gdbscm_lazy_string_type().
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().
|
static |
Definition at line 101 of file scm-lazy-string.c.
References lazy_string_smob::address, lazy_string_smob::encoding, gdb_assert, gdbscm_init_gsmob(), lazy_string_smob_name, lazy_string_smob_tag, lazy_string_smob::length, type::length, scm_new_smob(), lazy_string_smob::type, and type.
Referenced by lsscm_make_lazy_string().
|
static |
Definition at line 79 of file scm-lazy-string.c.
References lazy_string_smob::address, lazy_string_smob::encoding, gdbscm_printf(), hex_string(), lazy_string_smob_name, and lazy_string_smob::length.
Referenced by gdbscm_initialize_lazy_strings().
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().
|
static |
Definition at line 322 of file scm-lazy-string.c.
Definition at line 57 of file scm-lazy-string.c.
Referenced by gdbscm_initialize_lazy_strings(), lsscm_get_lazy_string_arg_unsafe(), lsscm_make_lazy_string_smob(), and lsscm_print_lazy_string_smob().
|
static |
Definition at line 60 of file scm-lazy-string.c.
Referenced by gdbscm_initialize_lazy_strings(), lsscm_is_lazy_string(), and lsscm_make_lazy_string_smob().