GDB (xrefs)
|
#include "defs.h"
#include "charset.h"
#include "guile-internal.h"
#include "gdbsupport/buildargv.h"
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) |
gdb::unique_xmalloc_ptr< 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) |
gdb::unique_xmalloc_ptr< 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) |
gdb::unique_xmalloc_ptr< 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 159 of file scm-string.c.
Referenced by gdbscm_scm_from_string().
|
static |
Definition at line 92 of file scm-string.c.
Referenced by gdbscm_scm_to_string().
void gdbscm_initialize_strings | ( | void | ) |
Definition at line 273 of file scm-string.c.
References gdbscm_define_functions(), and string_functions.
SCM gdbscm_scm_from_c_string | ( | const char * | string | ) |
Definition at line 45 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_make_breakpoint(), 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 227 of file scm-string.c.
References gdbscm_scm_from_string(), host_charset(), and scm_from_stringn_data::len.
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.
SCM gdbscm_scm_from_string | ( | const char * | string, |
size_t | len, | ||
const char * | charset, | ||
int | strict ) |
Definition at line 177 of file scm-string.c.
References scm_from_stringn_data::charset, gdbscm_call_guile(), gdbscm_call_scm_from_stringn(), gdbscm_is_exception(), gdbscm_is_false, scm_from_stringn_data::len, and scm_from_stringn_data::string.
Referenced by cmdscm_completer(), cmdscm_function(), and gdbscm_scm_from_host_string().
int gdbscm_scm_string_to_int | ( | SCM | string | ) |
Definition at line 32 of file scm-string.c.
gdb::unique_xmalloc_ptr< 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().
gdb::unique_xmalloc_ptr< char > gdbscm_scm_to_host_string | ( | SCM | string, |
size_t * | lenp, | ||
SCM * | except_scmp ) |
Definition at line 217 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().
gdb::unique_xmalloc_ptr< char > gdbscm_scm_to_string | ( | SCM | string, |
size_t * | lenp, | ||
const char * | charset, | ||
int | strict, | ||
SCM * | except_scmp ) |
Definition at line 117 of file scm-string.c.
References scm_to_stringn_data::charset, gdbscm_call_guile(), gdbscm_call_scm_to_stringn(), gdbscm_is_exception(), gdbscm_is_false, scm_to_stringn_data::lenp, 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 237 of file scm-string.c.
References FUNC_NAME, gdbscm_parse_function_args(), gdbscm_scm_from_c_string(), scm_from_stringn_data::result, scm_from_stringn_data::string, and xfree().
|
static |
Definition at line 262 of file scm-string.c.
Referenced by gdbscm_initialize_strings().