|
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 |
Functions | |
| static size_t | lsscm_free_lazy_string_smob (SCM self) |
| static int | lsscm_print_lazy_string_smob (SCM self, SCM port, scm_print_state *pstate) |
| static SCM | lsscm_make_lazy_string_smob (CORE_ADDR address, int length, const char *encoding, struct type *type) |
| int | lsscm_is_lazy_string (SCM scm) |
| static SCM | gdbscm_lazy_string_p (SCM scm) |
| SCM | lsscm_make_lazy_string (CORE_ADDR address, int length, const char *encoding, struct type *type) |
| static SCM | lsscm_get_lazy_string_arg_unsafe (SCM self, int arg_pos, const char *func_name) |
| static struct type * | lsscm_elt_type (lazy_string_smob *ls_smob) |
| static SCM | gdbscm_lazy_string_address (SCM self) |
| static SCM | gdbscm_lazy_string_length (SCM self) |
| static SCM | gdbscm_lazy_string_encoding (SCM self) |
| static SCM | gdbscm_lazy_string_type (SCM self) |
| static SCM | gdbscm_lazy_string_to_value (SCM self) |
| struct value * | lsscm_safe_lazy_string_to_value (SCM string, int arg_pos, const char *func_name, SCM *except_scmp) |
| void | lsscm_val_print_lazy_string (SCM string, struct ui_file *stream, const struct value_print_options *options) |
| void | gdbscm_initialize_lazy_strings (void) |
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 406 of file scm-lazy-string.c.
References gdbscm_define_functions(), gdbscm_make_smob_type(), lazy_string_functions, lazy_string_smob_name, lazy_string_smob_tag, lsscm_free_lazy_string_smob(), and lsscm_print_lazy_string_smob().
|
static |
Definition at line 221 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 243 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 232 of file scm-lazy-string.c.
References FUNC_NAME, lazy_string_smob::length, and lsscm_get_lazy_string_arg_unsafe().
|
static |
Definition at line 146 of file scm-lazy-string.c.
References lsscm_is_lazy_string().
|
static |
Definition at line 269 of file scm-lazy-string.c.
References FUNC_NAME, gdbscm_throw(), lsscm_get_lazy_string_arg_unsafe(), lsscm_safe_lazy_string_to_value(), and vlscm_scm_from_value().
|
static |
Definition at line 258 of file scm-lazy-string.c.
References FUNC_NAME, lsscm_get_lazy_string_arg_unsafe(), and lazy_string_smob::type.
|
static |
Definition at line 197 of file scm-lazy-string.c.
References check_typedef(), lazy_string_smob::type, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_PTR, TYPE_TARGET_TYPE, and tyscm_scm_to_type().
Referenced by lsscm_val_print_lazy_string().
|
static |
Definition at line 73 of file scm-lazy-string.c.
References lazy_string_smob::encoding, and xfree().
Referenced by gdbscm_initialize_lazy_strings().
|
static |
Definition at line 186 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 138 of file scm-lazy-string.c.
References lazy_string_smob_tag.
Referenced by gdbscm_lazy_string_p(), lsscm_get_lazy_string_arg_unsafe(), lsscm_safe_lazy_string_to_value(), lsscm_val_print_lazy_string(), ppscm_pretty_print_one_value(), ppscm_print_children(), ppscm_print_string_repr(), and vlscm_convert_typed_value_from_scheme().
| SCM lsscm_make_lazy_string | ( | CORE_ADDR | address, |
| int | length, | ||
| const char * | encoding, | ||
| struct type * | type | ||
| ) |
Definition at line 155 of file scm-lazy-string.c.
References _, gdbscm_make_out_of_range_error(), and lsscm_make_lazy_string_smob().
Referenced by gdbscm_value_to_lazy_string().
|
static |
Definition at line 110 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, scm_new_smob(), lazy_string_smob::type, and tyscm_scm_from_type().
Referenced by lsscm_make_lazy_string().
|
static |
Definition at line 85 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 294 of file scm-lazy-string.c.
References _, lazy_string_smob::address, CATCH, check_typedef(), END_CATCH, gdb_assert, gdbscm_make_out_of_range_error(), gdbscm_scm_from_gdb_exception(), lazy_string_smob::length, lookup_array_range_type(), lsscm_is_lazy_string(), RETURN_MASK_ALL, TRY, lazy_string_smob::type, TYPE_CODE, TYPE_CODE_PTR, TYPE_TARGET_TYPE, tyscm_scm_to_type(), value_at_lazy(), and value_from_pointer().
Referenced by gdbscm_lazy_string_to_value(), and vlscm_convert_typed_value_from_scheme().
| void lsscm_val_print_lazy_string | ( | SCM | string, |
| struct ui_file * | stream, | ||
| const struct value_print_options * | options | ||
| ) |
Definition at line 353 of file scm-lazy-string.c.
References lazy_string_smob::address, lazy_string_smob::encoding, gdb_assert, lazy_string_smob::length, lsscm_elt_type(), lsscm_is_lazy_string(), and val_print_string().
Referenced by ppscm_print_children(), and ppscm_print_string_repr().
|
static |
Definition at line 371 of file scm-lazy-string.c.
Referenced by gdbscm_initialize_lazy_strings().
|
static |
Definition at line 63 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 66 of file scm-lazy-string.c.
Referenced by gdbscm_initialize_lazy_strings(), lsscm_is_lazy_string(), and lsscm_make_lazy_string_smob().
1.8.14