GDB (xrefs)
|
#include "defs.h"
#include "filenames.h"
#include "guile-internal.h"
#include "gdbsupport/pathstuff.h"
Go to the source code of this file.
Classes | |
struct | c_data |
struct | with_catch_data |
struct | eval_scheme_string_data |
Functions | |
static SCM | scscm_safe_call_body (void *d) |
static SCM | scscm_printing_pre_unwind_handler (void *data, SCM key, SCM args) |
static SCM | scscm_nop_unwind_handler (void *data, SCM key, SCM args) |
static SCM | scscm_recording_pre_unwind_handler (void *datap, SCM key, SCM args) |
static SCM | scscm_recording_unwind_handler (void *datap, SCM key, SCM args) |
static void * | gdbscm_with_catch (void *data) |
const char * | gdbscm_with_guile (const char *(*func)(void *), void *data) |
SCM | gdbscm_call_guile (SCM(*func)(void *), void *data, excp_matcher_func *ok_excps) |
static SCM | scscm_call_0_body (void *argsp) |
SCM | gdbscm_safe_call_0 (SCM proc, excp_matcher_func *ok_excps) |
static SCM | scscm_call_1_body (void *argsp) |
SCM | gdbscm_safe_call_1 (SCM proc, SCM arg0, excp_matcher_func *ok_excps) |
static SCM | scscm_call_2_body (void *argsp) |
SCM | gdbscm_safe_call_2 (SCM proc, SCM arg0, SCM arg1, excp_matcher_func *ok_excps) |
static SCM | scscm_call_3_body (void *argsp) |
SCM | gdbscm_safe_call_3 (SCM proc, SCM arg1, SCM arg2, SCM arg3, excp_matcher_func *ok_excps) |
static SCM | scscm_call_4_body (void *argsp) |
SCM | gdbscm_safe_call_4 (SCM proc, SCM arg1, SCM arg2, SCM arg3, SCM arg4, excp_matcher_func *ok_excps) |
static SCM | scscm_apply_1_body (void *argsp) |
SCM | gdbscm_safe_apply_1 (SCM proc, SCM arg0, SCM rest, excp_matcher_func *ok_excps) |
SCM | gdbscm_unsafe_call_1 (SCM proc, SCM arg0) |
static const char * | scscm_eval_scheme_string (void *datap) |
gdb::unique_xmalloc_ptr< char > | gdbscm_safe_eval_string (const char *string, int display_result) |
static const char * | scscm_source_scheme_script (void *data) |
gdb::unique_xmalloc_ptr< char > | gdbscm_safe_source_script (const char *filename) |
void | gdbscm_enter_repl (void) |
SCM gdbscm_call_guile | ( | SCM(*)(void *) | func, |
void * | data, | ||
excp_matcher_func * | ok_excps ) |
Definition at line 201 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().
void gdbscm_enter_repl | ( | void | ) |
Definition at line 462 of file scm-safe-call.c.
References gdbscm_safe_call_1().
SCM gdbscm_safe_apply_1 | ( | SCM | proc, |
SCM | arg0, | ||
SCM | rest, | ||
excp_matcher_func * | ok_excps ) |
Definition at line 332 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 240 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 258 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 276 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 | arg1, | ||
SCM | arg2, | ||
SCM | arg3, | ||
excp_matcher_func * | ok_excps ) |
Definition at line 294 of file scm-safe-call.c.
References gdbscm_call_guile(), and scscm_call_3_body().
Referenced by cmdscm_completer(), and cmdscm_function().
SCM gdbscm_safe_call_4 | ( | SCM | proc, |
SCM | arg1, | ||
SCM | arg2, | ||
SCM | arg3, | ||
SCM | arg4, | ||
excp_matcher_func * | ok_excps ) |
Definition at line 313 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().
gdb::unique_xmalloc_ptr< char > gdbscm_safe_eval_string | ( | const char * | string, |
int | display_result ) |
Definition at line 399 of file scm-safe-call.c.
References eval_scheme_string_data::display_result, gdbscm_with_guile(), scscm_eval_scheme_string(), and eval_scheme_string_data::string.
Referenced by gdbscm_execute_objfile_script().
gdb::unique_xmalloc_ptr< char > gdbscm_safe_source_script | ( | const char * | filename | ) |
Definition at line 435 of file scm-safe-call.c.
References gdbscm_with_guile(), and scscm_source_scheme_script().
Referenced by gdbscm_source_objfile_script().
SCM gdbscm_unsafe_call_1 | ( | SCM | proc, |
SCM | arg0 ) |
Definition at line 357 of file scm-safe-call.c.
|
static |
Definition at line 149 of file scm-safe-call.c.
References with_catch_data::catch_result, with_catch_data::data, with_catch_data::func, with_catch_data::pre_unwind_handler, and with_catch_data::unwind_handler.
Referenced by gdbscm_call_guile(), and gdbscm_with_guile().
const char * gdbscm_with_guile | ( | const char *(*)(void *) | func, |
void * | data ) |
Definition at line 172 of file scm-safe-call.c.
References with_catch_data::catch_result, c_data::data, with_catch_data::data, with_catch_data::excp_matcher, func, c_data::func, with_catch_data::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().
|
static |
Definition at line 324 of file scm-safe-call.c.
Referenced by gdbscm_safe_apply_1().
|
static |
Definition at line 232 of file scm-safe-call.c.
Referenced by gdbscm_safe_call_0().
|
static |
Definition at line 250 of file scm-safe-call.c.
Referenced by gdbscm_safe_call_1().
|
static |
Definition at line 268 of file scm-safe-call.c.
Referenced by gdbscm_safe_call_2().
|
static |
Definition at line 286 of file scm-safe-call.c.
Referenced by gdbscm_safe_call_3().
|
static |
Definition at line 305 of file scm-safe-call.c.
Referenced by gdbscm_safe_call_4().
|
static |
Definition at line 374 of file scm-safe-call.c.
Referenced by gdbscm_safe_eval_string().
|
static |
Definition at line 85 of file scm-safe-call.c.
Referenced by gdbscm_with_guile().
|
static |
Definition at line 73 of file scm-safe-call.c.
References gdbscm_print_exception_with_stack().
Referenced by gdbscm_with_guile().
|
static |
Definition at line 99 of file scm-safe-call.c.
References with_catch_data::data, and with_catch_data::excp_matcher.
Referenced by gdbscm_call_guile().
|
static |
Definition at line 128 of file scm-safe-call.c.
References with_catch_data::data, gdbscm_is_true, gdbscm_make_exception(), and gdbscm_make_exception_with_stack().
Referenced by gdbscm_call_guile().
|
static |
Definition at line 60 of file scm-safe-call.c.
References c_data::data, and c_data::result.
Referenced by gdbscm_with_guile().
|
static |
Definition at line 416 of file scm-safe-call.c.
Referenced by gdbscm_safe_source_script().