GDB (xrefs)
|
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) |
void * | gdbscm_with_guile (void *(*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 void * | scscm_eval_scheme_string (void *datap) |
char * | gdbscm_safe_eval_string (const char *string, int display_result) |
static void * | scscm_source_scheme_script (void *data) |
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 200 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 461 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 331 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 239 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 257 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 275 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 293 of file scm-safe-call.c.
References gdbscm_call_guile(), and scscm_call_3_body().
Referenced by cmdscm_function(), and VEC().
SCM gdbscm_safe_call_4 | ( | SCM | proc, |
SCM | arg1, | ||
SCM | arg2, | ||
SCM | arg3, | ||
SCM | arg4, | ||
excp_matcher_func * | ok_excps | ||
) |
Definition at line 312 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().
Definition at line 397 of file scm-safe-call.c.
References gdbscm_with_guile(), scscm_eval_scheme_string(), and string.
Referenced by gdbscm_execute_objfile_script().
char* gdbscm_safe_source_script | ( | const char * | filename | ) |
Definition at line 433 of file scm-safe-call.c.
References gdb_realpath(), gdbscm_with_guile(), scscm_source_scheme_script(), and xfree().
Referenced by gdbscm_source_objfile_script().
SCM gdbscm_unsafe_call_1 | ( | SCM | proc, |
SCM | arg0 | ||
) |
Definition at line 356 of file scm-safe-call.c.
|
static |
Definition at line 148 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().
void* gdbscm_with_guile | ( | void *(*)(void *) | func, |
void * | data | ||
) |
Definition at line 171 of file scm-safe-call.c.
References _, with_catch_data::catch_result, c_data::data, with_catch_data::data, with_catch_data::excp_matcher, c_data::func, with_catch_data::func, 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 323 of file scm-safe-call.c.
Referenced by gdbscm_safe_apply_1().
|
static |
Definition at line 231 of file scm-safe-call.c.
Referenced by gdbscm_safe_call_0().
|
static |
Definition at line 249 of file scm-safe-call.c.
Referenced by gdbscm_safe_call_1().
|
static |
Definition at line 267 of file scm-safe-call.c.
Referenced by gdbscm_safe_call_2().
|
static |
Definition at line 285 of file scm-safe-call.c.
Referenced by gdbscm_safe_call_3().
|
static |
Definition at line 304 of file scm-safe-call.c.
Referenced by gdbscm_safe_call_4().
|
static |
Definition at line 373 of file scm-safe-call.c.
References eval_scheme_string_data::display_result, and eval_scheme_string_data::string.
Referenced by gdbscm_safe_eval_string().
|
static |
Definition at line 84 of file scm-safe-call.c.
Referenced by gdbscm_with_guile().
|
static |
Definition at line 72 of file scm-safe-call.c.
References gdbscm_print_exception_with_stack().
Referenced by gdbscm_with_guile().
|
static |
Definition at line 98 of file scm-safe-call.c.
References with_catch_data::data, with_catch_data::excp_matcher, and with_catch_data::stack.
Referenced by gdbscm_call_guile().
|
static |
Definition at line 127 of file scm-safe-call.c.
References with_catch_data::data, gdbscm_is_true, gdbscm_make_exception(), gdbscm_make_exception_with_stack(), and with_catch_data::stack.
Referenced by gdbscm_call_guile().
|
static |
Definition at line 59 of file scm-safe-call.c.
References c_data::data, c_data::func, and c_data::result.
Referenced by gdbscm_with_guile().
|
static |
Definition at line 414 of file scm-safe-call.c.
Referenced by gdbscm_safe_source_script().