|
GDB (xrefs)
|
#include "defs.h"#include "value.h"#include "breakpoint.h"#include "gdbcmd.h"#include "gdbthread.h"#include "observer.h"#include "cli/cli-script.h"#include "ada-lang.h"#include "arch-utils.h"#include "language.h"#include "guile-internal.h"#include "location.h"Go to the source code of this file.
Classes | |
| struct | gdbscm_breakpoint_object |
Typedefs | |
| typedef struct gdbscm_breakpoint_object | breakpoint_smob |
Variables | |
| static const char | breakpoint_smob_name [] = "gdb:breakpoint" |
| static scm_t_bits | breakpoint_smob_tag |
| static SCM | pending_breakpoint_scm = SCM_BOOL_F |
| static SCM | type_keyword |
| static SCM | wp_class_keyword |
| static SCM | internal_keyword |
| static const scheme_integer_constant | breakpoint_integer_constants [] |
| static const scheme_function | breakpoint_functions [] |
| typedef struct gdbscm_breakpoint_object breakpoint_smob |
|
static |
Definition at line 245 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bp, gdbscm_breakpoint_object::containing_scm, gdbscm_breakpoint_object::number, and breakpoint::scm_bp_object.
Referenced by bpscm_breakpoint_created(), and bpscm_build_bp_list().
|
static |
Definition at line 1100 of file scm-breakpoint.c.
References bp, bpscm_attach_scm_to_breakpoint(), bpscm_want_scm_wrapper_p(), gdb_assert, gdbscm_is_false, and pending_breakpoint_scm.
Referenced by gdbscm_initialize_breakpoints().
|
static |
Definition at line 1120 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bp, gdbscm_breakpoint_object::containing_scm, get_breakpoint(), gdbscm_breakpoint_object::number, breakpoint::number, and gdbscm_breakpoint_object::stop.
Referenced by gdbscm_initialize_breakpoints().
|
static |
Definition at line 509 of file scm-breakpoint.c.
References bp, bpscm_attach_scm_to_breakpoint(), bpscm_make_breakpoint_smob(), bpscm_want_scm_wrapper_p(), and gdbscm_breakpoint_object::containing_scm.
Referenced by gdbscm_breakpoints().
|
static |
Definition at line 148 of file scm-breakpoint.c.
References bp_call_disabled, bp_disabled, and bp_enabled.
Referenced by bpscm_print_breakpoint_smob().
|
static |
Definition at line 112 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, gdbscm_breakpoint_object::containing_scm, breakpoint::scm_bp_object, and gdbscm_breakpoint_object::stop.
Referenced by gdbscm_initialize_breakpoints().
|
static |
Definition at line 280 of file scm-breakpoint.c.
References bpscm_is_breakpoint(), and breakpoint_smob_name.
Referenced by bpscm_get_breakpoint_smob_arg_unsafe().
|
static |
Definition at line 292 of file scm-breakpoint.c.
References bpscm_get_breakpoint_arg_unsafe().
Referenced by bpscm_get_valid_breakpoint_smob_arg_unsafe(), gdbscm_breakpoint_valid_p(), and gdbscm_register_breakpoint_x().
|
static |
Definition at line 314 of file scm-breakpoint.c.
References _, bpscm_get_breakpoint_smob_arg_unsafe(), bpscm_is_valid(), and gdbscm_invalid_object_error().
Referenced by gdbscm_breakpoint_commands(), gdbscm_breakpoint_condition(), gdbscm_breakpoint_enabled_p(), gdbscm_breakpoint_expression(), gdbscm_breakpoint_hit_count(), gdbscm_breakpoint_ignore_count(), gdbscm_breakpoint_location(), gdbscm_breakpoint_number(), gdbscm_breakpoint_silent_p(), gdbscm_breakpoint_stop(), gdbscm_breakpoint_task(), gdbscm_breakpoint_thread(), gdbscm_breakpoint_type(), gdbscm_breakpoint_visible(), gdbscm_delete_breakpoint_x(), gdbscm_set_breakpoint_condition_x(), gdbscm_set_breakpoint_enabled_x(), gdbscm_set_breakpoint_hit_count_x(), gdbscm_set_breakpoint_ignore_count_x(), gdbscm_set_breakpoint_silent_x(), gdbscm_set_breakpoint_stop_x(), gdbscm_set_breakpoint_task_x(), and gdbscm_set_breakpoint_thread_x().
|
static |
Definition at line 263 of file scm-breakpoint.c.
References breakpoint_smob_tag.
Referenced by bpscm_get_breakpoint_arg_unsafe(), and gdbscm_breakpoint_p().
|
static |
Definition at line 304 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp.
Referenced by bpscm_get_valid_breakpoint_smob_arg_unsafe(), gdbscm_breakpoint_valid_p(), and gdbscm_register_breakpoint_x().
|
static |
Definition at line 203 of file scm-breakpoint.c.
References breakpoint_smob_name, breakpoint_smob_tag, gdbscm_init_gsmob(), memset(), gdbscm_breakpoint_object::number, scm_new_smob(), and gdbscm_breakpoint_object::stop.
Referenced by bpscm_build_bp_list(), and gdbscm_make_breakpoint().
|
static |
Definition at line 162 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bpscm_enable_state_to_string(), bpscm_type_to_string(), breakpoint_smob_name, breakpoint::enable_state, event_location_to_string(), gdbscm_printf(), breakpoint::hit_count, breakpoint::ignore_count, breakpoint::location, gdbscm_breakpoint_object::number, breakpoint::silent, and breakpoint::type.
Referenced by gdbscm_initialize_breakpoints().
|
static |
Definition at line 131 of file scm-breakpoint.c.
References bp_access_watchpoint, bp_breakpoint, bp_hardware_watchpoint, bp_none, bp_read_watchpoint, and bp_watchpoint.
Referenced by bpscm_print_breakpoint_smob().
|
static |
Definition at line 224 of file scm-breakpoint.c.
References bp, bp_access_watchpoint, bp_breakpoint, bp_hardware_watchpoint, bp_read_watchpoint, and bp_watchpoint.
Referenced by bpscm_breakpoint_created(), and bpscm_build_bp_list().
|
static |
Definition at line 973 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), breakpoint_commands(), string_file::c_str(), CATCH, current_uiout, END_CATCH, FUNC_NAME, gdbscm_scm_from_c_string(), gdbscm_throw_gdb_exception(), print_command_lines(), RETURN_MASK_ALL, and TRY.
| enum ext_lang_bp_stop gdbscm_breakpoint_cond_says_stop | ( | const struct extension_language_defn * | extlang, |
| struct breakpoint * | b | ||
| ) |
Definition at line 1064 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::containing_scm, EXT_LANG_BP_STOP_NO, EXT_LANG_BP_STOP_UNSET, EXT_LANG_BP_STOP_YES, gdbscm_is_exception(), gdbscm_is_false, gdbscm_is_procedure(), gdbscm_safe_call_1(), breakpoint::scm_bp_object, and gdbscm_breakpoint_object::stop.
|
static |
Definition at line 870 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), breakpoint::cond_string, FUNC_NAME, and gdbscm_scm_from_c_string().
|
static |
Definition at line 572 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bp_enabled, bpscm_get_valid_breakpoint_smob_arg_unsafe(), breakpoint::enable_state, and FUNC_NAME.
|
static |
Definition at line 849 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), watchpoint::exp_string, FUNC_NAME, gdbscm_scm_from_c_string(), if(), and is_watchpoint().
| int gdbscm_breakpoint_has_cond | ( | const struct extension_language_defn * | extlang, |
| struct breakpoint * | b | ||
| ) |
Definition at line 1043 of file scm-breakpoint.c.
References gdbscm_is_procedure(), breakpoint::scm_bp_object, and gdbscm_breakpoint_object::stop.
|
static |
Definition at line 686 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), FUNC_NAME, and breakpoint::hit_count.
|
static |
Definition at line 645 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), FUNC_NAME, and breakpoint::ignore_count.
|
static |
Definition at line 828 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bp_breakpoint, bpscm_get_valid_breakpoint_smob_arg_unsafe(), event_location_to_string(), FUNC_NAME, gdbscm_scm_from_c_string(), breakpoint::location, and breakpoint::type.
|
static |
Definition at line 1030 of file scm-breakpoint.c.
References bpscm_get_valid_breakpoint_smob_arg_unsafe(), FUNC_NAME, and gdbscm_breakpoint_object::number.
|
static |
Definition at line 271 of file scm-breakpoint.c.
References bpscm_is_breakpoint().
|
static |
Definition at line 610 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), FUNC_NAME, and breakpoint::silent.
|
static |
Definition at line 922 of file scm-breakpoint.c.
References bpscm_get_valid_breakpoint_smob_arg_unsafe(), FUNC_NAME, and gdbscm_breakpoint_object::stop.
|
static |
Definition at line 766 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), FUNC_NAME, and breakpoint::task.
|
static |
Definition at line 724 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), FUNC_NAME, and breakpoint::thread.
|
static |
Definition at line 1008 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), FUNC_NAME, and breakpoint::type.
|
static |
Definition at line 561 of file scm-breakpoint.c.
References bpscm_get_breakpoint_smob_arg_unsafe(), bpscm_is_valid(), and FUNC_NAME.
|
static |
Definition at line 1019 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), FUNC_NAME, and breakpoint::number.
|
static |
Definition at line 544 of file scm-breakpoint.c.
References bpscm_build_bp_list(), and iterate_over_breakpoints().
|
static |
Definition at line 488 of file scm-breakpoint.c.
References gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), CATCH, delete_breakpoint(), END_CATCH, FUNC_NAME, GDBSCM_HANDLE_GDB_EXCEPTION, RETURN_MASK_ALL, and TRY.
| void gdbscm_initialize_breakpoints | ( | void | ) |
Definition at line 1323 of file scm-breakpoint.c.
References bpscm_breakpoint_created(), bpscm_breakpoint_deleted(), bpscm_free_breakpoint_smob(), bpscm_print_breakpoint_smob(), breakpoint_functions, breakpoint_integer_constants, breakpoint_smob_name, breakpoint_smob_tag, gdbscm_define_functions(), gdbscm_define_integer_constants(), gdbscm_make_smob_type(), internal_keyword, observer_attach_breakpoint_created(), observer_attach_breakpoint_deleted(), type_keyword, and wp_class_keyword.
|
static |
Definition at line 339 of file scm-breakpoint.c.
References _, gdbscm_breakpoint_object::access_type, bp_breakpoint, bp_watchpoint, bpscm_make_breakpoint_smob(), FUNC_NAME, gdbscm_gc_xstrdup(), gdbscm_misc_error(), gdbscm_out_of_range_error(), gdbscm_parse_function_args(), hw_access, hw_read, hw_write, internal_keyword, gdbscm_breakpoint_object::is_internal, gdbscm_breakpoint_object::is_scheme_bkpt, gdbscm_breakpoint_object::location, breakpoint::location, gdbscm_breakpoint_object::spec, gdbscm_breakpoint_object::type, type, type_keyword, wp_class_keyword, and xfree().
|
static |
Definition at line 410 of file scm-breakpoint.c.
References _, gdbscm_breakpoint_object::access_type, AUTO_BOOLEAN_TRUE, awatch_command_wrapper(), bkpt_breakpoint_ops, bp_breakpoint, bp_watchpoint, bpscm_get_breakpoint_smob_arg_unsafe(), bpscm_is_valid(), CATCH, create_breakpoint(), current_language, END_CATCH, exception_none, FUNC_NAME, gdb_assert_not_reached, GDBSCM_HANDLE_GDB_EXCEPTION, get_current_arch(), hw_access, hw_read, hw_write, gdbscm_breakpoint_object::is_internal, gdbscm_breakpoint_object::is_scheme_bkpt, gdbscm_breakpoint_object::location, pending_breakpoint_scm, RETURN_MASK_ALL, rwatch_command_wrapper(), skip_spaces(), gdbscm_breakpoint_object::spec, string_to_event_location_basic(), TRY, gdbscm_breakpoint_object::type, watch_command_wrapper(), and WILD.
|
static |
Definition at line 887 of file scm-breakpoint.c.
References _, gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), CATCH, END_CATCH, exception_none, watchpoint::exp, FUNC_NAME, GDBSCM_HANDLE_GDB_EXCEPTION, gdbscm_is_false, gdbscm_scm_to_c_string(), RETURN_MASK_ALL, set_breakpoint_condition(), TRY, and xfree().
|
static |
Definition at line 583 of file scm-breakpoint.c.
References _, gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), CATCH, disable_breakpoint(), enable_breakpoint(), END_CATCH, FUNC_NAME, GDBSCM_HANDLE_GDB_EXCEPTION, gdbscm_is_bool, gdbscm_is_true, RETURN_MASK_ALL, and TRY.
|
static |
Definition at line 697 of file scm-breakpoint.c.
References _, gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), FUNC_NAME, gdbscm_out_of_range_error(), breakpoint::hit_count, and LONG_MAX.
|
static |
Definition at line 657 of file scm-breakpoint.c.
References _, bpscm_get_valid_breakpoint_smob_arg_unsafe(), CATCH, END_CATCH, FUNC_NAME, GDBSCM_HANDLE_GDB_EXCEPTION, LONG_MAX, gdbscm_breakpoint_object::number, RETURN_MASK_ALL, set_ignore_count(), and TRY.
|
static |
Definition at line 621 of file scm-breakpoint.c.
References _, gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), breakpoint_set_silent(), CATCH, END_CATCH, FUNC_NAME, GDBSCM_HANDLE_GDB_EXCEPTION, gdbscm_is_bool, gdbscm_is_true, RETURN_MASK_ALL, and TRY.
|
static |
Definition at line 934 of file scm-breakpoint.c.
References _, gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), breakpoint::cond_string, ext_lang_capitalized_name(), EXT_LANG_GDB, EXT_LANG_GUILE, FUNC_NAME, gdbscm_dynwind_xfree(), gdbscm_is_false, gdbscm_is_procedure(), gdbscm_out_of_range_error(), get_breakpoint_cond_ext_lang(), get_ext_lang_defn(), gdbscm_breakpoint_object::stop, and xstrprintf().
|
static |
Definition at line 780 of file scm-breakpoint.c.
References _, gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), breakpoint_set_task(), CATCH, END_CATCH, FUNC_NAME, GDBSCM_HANDLE_GDB_EXCEPTION, gdbscm_is_false, gdbscm_out_of_range_error(), LONG_MAX, RETURN_MASK_ALL, TRY, and valid_task_id().
|
static |
Definition at line 738 of file scm-breakpoint.c.
References _, gdbscm_breakpoint_object::bp, bpscm_get_valid_breakpoint_smob_arg_unsafe(), breakpoint_set_thread(), FUNC_NAME, gdbscm_is_false, gdbscm_out_of_range_error(), LONG_MAX, and valid_global_thread_id().
|
static |
Definition at line 1160 of file scm-breakpoint.c.
Referenced by gdbscm_initialize_breakpoints().
|
static |
Definition at line 1144 of file scm-breakpoint.c.
Referenced by gdbscm_initialize_breakpoints().
|
static |
Definition at line 93 of file scm-breakpoint.c.
Referenced by bpscm_get_breakpoint_arg_unsafe(), bpscm_make_breakpoint_smob(), bpscm_print_breakpoint_smob(), and gdbscm_initialize_breakpoints().
|
static |
Definition at line 96 of file scm-breakpoint.c.
Referenced by bpscm_is_breakpoint(), bpscm_make_breakpoint_smob(), and gdbscm_initialize_breakpoints().
|
static |
Definition at line 105 of file scm-breakpoint.c.
Referenced by gdbscm_initialize_breakpoints(), and gdbscm_make_breakpoint().
|
static |
Definition at line 100 of file scm-breakpoint.c.
Referenced by bpscm_breakpoint_created(), and gdbscm_register_breakpoint_x().
|
static |
Definition at line 103 of file scm-breakpoint.c.
Referenced by gdbscm_initialize_breakpoints(), and gdbscm_make_breakpoint().
|
static |
Definition at line 104 of file scm-breakpoint.c.
Referenced by gdbscm_initialize_breakpoints(), and gdbscm_make_breakpoint().
1.8.14