GDB (xrefs)
|
Go to the source code of this file.
Classes | |
struct | scm_to_stringn_data |
struct | scm_from_stringn_data |
Functions | |
int | gdbscm_scm_string_to_int (SCM string) |
SCM | gdbscm_scm_from_c_string (const char *string) |
char * | gdbscm_scm_to_c_string (SCM string) |
SCM | gdbscm_scm_from_printf (const char *format,...) |
static SCM | gdbscm_call_scm_to_stringn (void *datap) |
char * | gdbscm_scm_to_string (SCM string, size_t *lenp, const char *charset, int strict, SCM *except_scmp) |
static SCM | gdbscm_call_scm_from_stringn (void *datap) |
SCM | gdbscm_scm_from_string (const char *string, size_t len, const char *charset, int strict) |
char * | gdbscm_scm_to_host_string (SCM string, size_t *lenp, SCM *except_scmp) |
SCM | gdbscm_scm_from_host_string (const char *string, size_t len) |
static SCM | gdbscm_string_to_argv (SCM string_scm) |
void | gdbscm_initialize_strings (void) |
Variables | |
static const scheme_function | string_functions [] |
|
static |
Definition at line 162 of file scm-string.c.
References scm_from_stringn_data::charset, scm_from_stringn_data::conversion_kind, scm_from_stringn_data::len, scm_from_stringn_data::result, and scm_from_stringn_data::string.
Referenced by gdbscm_scm_from_string().
|
static |
Definition at line 94 of file scm-string.c.
References scm_to_stringn_data::charset, scm_to_stringn_data::conversion_kind, scm_to_stringn_data::lenp, scm_to_stringn_data::result, and scm_to_stringn_data::string.
Referenced by gdbscm_scm_to_string().
void gdbscm_initialize_strings | ( | void | ) |
Definition at line 280 of file scm-string.c.
References gdbscm_define_functions().
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_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_printf | ( | const char * | format, |
... | |||
) |
Definition at line 63 of file scm-string.c.
References string, xfree(), and xstrvprintf().
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().
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_scmp | ||
) |
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().
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().
|
static |
Definition at line 241 of file scm-string.c.
References FUNC_NAME, gdb_buildargv(), gdbscm_parse_function_args(), gdbscm_scm_from_c_string(), scm_from_stringn_data::result, string, and xfree().
|
static |
Definition at line 269 of file scm-string.c.