GDB (xrefs)

Classes | Typedefs | Functions | Variables
scm-breakpoint.c File Reference
`#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

## Functions
static size_t | bpscm_free_breakpoint_smob (SCM self)
static const char * | bpscm_type_to_string (enum bptype type)
static const char * | bpscm_enable_state_to_string (enum enable_state enable_state)
static int | bpscm_print_breakpoint_smob (SCM self, SCM port, scm_print_state *pstate)
static SCM | bpscm_make_breakpoint_smob (void)
static int | bpscm_want_scm_wrapper_p (struct breakpoint *bp, int from_scheme)
static void | bpscm_attach_scm_to_breakpoint (struct breakpoint *bp, SCM containing_scm)
static int | bpscm_is_breakpoint (SCM scm)
static SCM | gdbscm_breakpoint_p (SCM scm)
static SCM | bpscm_get_breakpoint_arg_unsafe (SCM self, int arg_pos, const char *func_name)
static breakpoint_smob * | bpscm_get_breakpoint_smob_arg_unsafe (SCM self, int arg_pos, const char *func_name)
static int | bpscm_is_valid (breakpoint_smob *bp_smob)
static breakpoint_smob * | bpscm_get_valid_breakpoint_smob_arg_unsafe (SCM self, int arg_pos, const char *func_name)
static SCM | gdbscm_make_breakpoint (SCM location_scm, SCM rest)
static SCM | gdbscm_register_breakpoint_x (SCM self)
static SCM | gdbscm_delete_breakpoint_x (SCM self)
static int | bpscm_build_bp_list (struct breakpoint *bp, void *arg)
static SCM | gdbscm_breakpoints (void)
static SCM | gdbscm_breakpoint_valid_p (SCM self)
static SCM | gdbscm_breakpoint_enabled_p (SCM self)
static SCM | gdbscm_set_breakpoint_enabled_x (SCM self, SCM newvalue)
static SCM | gdbscm_breakpoint_silent_p (SCM self)
static SCM | gdbscm_set_breakpoint_silent_x (SCM self, SCM newvalue)
static SCM | gdbscm_breakpoint_ignore_count (SCM self)
static SCM | gdbscm_set_breakpoint_ignore_count_x (SCM self, SCM newvalue)
static SCM | gdbscm_breakpoint_hit_count (SCM self)
static SCM | gdbscm_set_breakpoint_hit_count_x (SCM self, SCM newvalue)
static SCM | gdbscm_breakpoint_thread (SCM self)
static SCM | gdbscm_set_breakpoint_thread_x (SCM self, SCM newvalue)
static SCM | gdbscm_breakpoint_task (SCM self)
static SCM | gdbscm_set_breakpoint_task_x (SCM self, SCM newvalue)
static SCM | gdbscm_breakpoint_location (SCM self)
static SCM | gdbscm_breakpoint_expression (SCM self)
static SCM | gdbscm_breakpoint_condition (SCM self)
static SCM | gdbscm_set_breakpoint_condition_x (SCM self, SCM newvalue)
static SCM | gdbscm_breakpoint_stop (SCM self)
static SCM | gdbscm_set_breakpoint_stop_x (SCM self, SCM newvalue)
static SCM | gdbscm_breakpoint_commands (SCM self)
static SCM | gdbscm_breakpoint_type (SCM self)
static SCM | gdbscm_breakpoint_visible (SCM self)
static SCM | gdbscm_breakpoint_number (SCM self)
int | gdbscm_breakpoint_has_cond (const struct extension_language_defn *extlang, struct breakpoint *b)
enum ext_lang_bp_stop | gdbscm_breakpoint_cond_says_stop (const struct extension_language_defn *extlang, struct breakpoint *b)
static void | bpscm_breakpoint_created (struct breakpoint *bp)
static void | bpscm_breakpoint_deleted (struct breakpoint *b)
void | gdbscm_initialize_breakpoints (void)

## 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 Documentation

## ◆ breakpoint_smob

typedef struct gdbscm_breakpoint_object breakpoint_smob

## Function Documentation

## ◆ bpscm_attach_scm_to_breakpoint()

static void bpscm_attach_scm_to_breakpoint | ( | struct breakpoint * | bp,
|  | SCM | containing_scm
| ) |  |
| 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().

## ◆ bpscm_breakpoint_created()

static void bpscm_breakpoint_created | ( | struct breakpoint * | bp | ) |
| 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().

## ◆ bpscm_breakpoint_deleted()

static void bpscm_breakpoint_deleted | ( | struct breakpoint * | b | ) |
| 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().

## ◆ bpscm_build_bp_list()

static int bpscm_build_bp_list | ( | struct breakpoint * | bp,
|  | void * | arg
| ) |  |
| 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().

## ◆ bpscm_enable_state_to_string()

static const char* bpscm_enable_state_to_string | ( | enum enable_state | enable_state | ) |
| 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().

## ◆ bpscm_free_breakpoint_smob()

static size_t bpscm_free_breakpoint_smob | ( | SCM | self | ) |
| 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().

## ◆ bpscm_get_breakpoint_arg_unsafe()

static SCM bpscm_get_breakpoint_arg_unsafe | ( | SCM | self,
|  | int | arg_pos,
|  | const char * | func_name
| ) |  |
| 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().

## ◆ bpscm_get_breakpoint_smob_arg_unsafe()

static breakpoint_smob* bpscm_get_breakpoint_smob_arg_unsafe | ( | SCM | self,
|  | int | arg_pos,
|  | const char * | func_name
| ) |  |
| 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().

## ◆ bpscm_get_valid_breakpoint_smob_arg_unsafe()

static breakpoint_smob* bpscm_get_valid_breakpoint_smob_arg_unsafe | ( | SCM | self,
|  | int | arg_pos,
|  | const char * | func_name
| ) |  |
| 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().

## ◆ bpscm_is_breakpoint()

static int bpscm_is_breakpoint | ( | SCM | scm | ) |
| 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().

## ◆ bpscm_is_valid()

static int bpscm_is_valid | ( | breakpoint_smob * | bp_smob | ) |
| 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().

## ◆ bpscm_make_breakpoint_smob()

static SCM bpscm_make_breakpoint_smob | ( | void |  | ) |
| 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().

## ◆ bpscm_print_breakpoint_smob()

static int bpscm_print_breakpoint_smob | ( | SCM | self,
|  | SCM | port,
|  | scm_print_state * | pstate
| ) |  |
| 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().

## ◆ bpscm_type_to_string()

static const char* bpscm_type_to_string | ( | enum bptype | type | ) |
| 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().

## ◆ bpscm_want_scm_wrapper_p()

static int bpscm_want_scm_wrapper_p | ( | struct breakpoint * | bp,
|  | int | from_scheme
| ) |  |
| 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().

## ◆ gdbscm_breakpoint_commands()

static SCM gdbscm_breakpoint_commands | ( | SCM | self | ) |
| 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.

## ◆ gdbscm_breakpoint_cond_says_stop()

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.

## ◆ gdbscm_breakpoint_condition()

static SCM gdbscm_breakpoint_condition | ( | SCM | self | ) |
| 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().

## ◆ gdbscm_breakpoint_enabled_p()

static SCM gdbscm_breakpoint_enabled_p | ( | SCM | self | ) |
| 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.

## ◆ gdbscm_breakpoint_expression()

static SCM gdbscm_breakpoint_expression | ( | SCM | self | ) |
| 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().

## ◆ gdbscm_breakpoint_has_cond()

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.

## ◆ gdbscm_breakpoint_hit_count()

static SCM gdbscm_breakpoint_hit_count | ( | SCM | self | ) |
| 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.

## ◆ gdbscm_breakpoint_ignore_count()

static SCM gdbscm_breakpoint_ignore_count | ( | SCM | self | ) |
| 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.

## ◆ gdbscm_breakpoint_location()

static SCM gdbscm_breakpoint_location | ( | SCM | self | ) |
| 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.

## ◆ gdbscm_breakpoint_number()

static SCM gdbscm_breakpoint_number | ( | SCM | self | ) |
| 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.

## ◆ gdbscm_breakpoint_p()

static SCM gdbscm_breakpoint_p | ( | SCM | scm | ) |
| static

Definition at line 271 of file scm-breakpoint.c.

References bpscm_is_breakpoint().

## ◆ gdbscm_breakpoint_silent_p()

static SCM gdbscm_breakpoint_silent_p | ( | SCM | self | ) |
| 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.

## ◆ gdbscm_breakpoint_stop()

static SCM gdbscm_breakpoint_stop | ( | SCM | self | ) |
| 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.

## ◆ gdbscm_breakpoint_task()

static SCM gdbscm_breakpoint_task | ( | SCM | self | ) |
| 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.

## ◆ gdbscm_breakpoint_thread()

static SCM gdbscm_breakpoint_thread | ( | SCM | self | ) |
| 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.

## ◆ gdbscm_breakpoint_type()

static SCM gdbscm_breakpoint_type | ( | SCM | self | ) |
| 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.

## ◆ gdbscm_breakpoint_valid_p()

static SCM gdbscm_breakpoint_valid_p | ( | SCM | self | ) |
| static

Definition at line 561 of file scm-breakpoint.c.

References bpscm_get_breakpoint_smob_arg_unsafe(), bpscm_is_valid(), and FUNC_NAME.

## ◆ gdbscm_breakpoint_visible()

static SCM gdbscm_breakpoint_visible | ( | SCM | self | ) |
| 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.

## ◆ gdbscm_breakpoints()

static SCM gdbscm_breakpoints | ( | void |  | ) |
| static

Definition at line 544 of file scm-breakpoint.c.

References bpscm_build_bp_list(), and iterate_over_breakpoints().

## ◆ gdbscm_delete_breakpoint_x()

static SCM gdbscm_delete_breakpoint_x | ( | SCM | self | ) |
| 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.

## ◆ gdbscm_initialize_breakpoints()

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.

## ◆ gdbscm_make_breakpoint()

static SCM gdbscm_make_breakpoint | ( | SCM | location_scm,
|  | SCM | rest
| ) |  |
| 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().

## ◆ gdbscm_register_breakpoint_x()

static SCM gdbscm_register_breakpoint_x | ( | SCM | self | ) |
| 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.

## ◆ gdbscm_set_breakpoint_condition_x()

static SCM gdbscm_set_breakpoint_condition_x | ( | SCM | self,
|  | SCM | newvalue
| ) |  |
| 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().

## ◆ gdbscm_set_breakpoint_enabled_x()

static SCM gdbscm_set_breakpoint_enabled_x | ( | SCM | self,
|  | SCM | newvalue
| ) |  |
| 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.

## ◆ gdbscm_set_breakpoint_hit_count_x()

static SCM gdbscm_set_breakpoint_hit_count_x | ( | SCM | self,
|  | SCM | newvalue
| ) |  |
| 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.

## ◆ gdbscm_set_breakpoint_ignore_count_x()

static SCM gdbscm_set_breakpoint_ignore_count_x | ( | SCM | self,
|  | SCM | newvalue
| ) |  |
| 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.

## ◆ gdbscm_set_breakpoint_silent_x()

static SCM gdbscm_set_breakpoint_silent_x | ( | SCM | self,
|  | SCM | newvalue
| ) |  |
| 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.

## ◆ gdbscm_set_breakpoint_stop_x()

static SCM gdbscm_set_breakpoint_stop_x | ( | SCM | self,
|  | SCM | newvalue
| ) |  |
| 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().

## ◆ gdbscm_set_breakpoint_task_x()

static SCM gdbscm_set_breakpoint_task_x | ( | SCM | self,
|  | SCM | newvalue
| ) |  |
| 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().

## ◆ gdbscm_set_breakpoint_thread_x()

static SCM gdbscm_set_breakpoint_thread_x | ( | SCM | self,
|  | SCM | newvalue
| ) |  |
| 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().

## Variable Documentation

## ◆ breakpoint_functions

const scheme_function breakpoint_functions[]
| static

Definition at line 1160 of file scm-breakpoint.c.

Referenced by gdbscm_initialize_breakpoints().

## ◆ breakpoint_integer_constants

const scheme_integer_constant breakpoint_integer_constants[]
| static

Initial value:
=
{
{ "BP_NONE", bp_none },
{ "BP_BREAKPOINT", bp_breakpoint },
{ "BP_WATCHPOINT", bp_watchpoint },
{ "BP_HARDWARE_WATCHPOINT", bp_hardware_watchpoint },
{ "BP_READ_WATCHPOINT", bp_read_watchpoint },
{ "BP_ACCESS_WATCHPOINT", bp_access_watchpoint },
{ "WP_READ", hw_read },
{ "WP_WRITE", hw_write },
{ "WP_ACCESS", hw_access },
END_INTEGER_CONSTANTS
}
bp_breakpoint
Definition: breakpoint.h:70
bp_watchpoint
Definition: breakpoint.h:75
hw_write
Definition: break-common.h:24
hw_read
Definition: break-common.h:25
bp_read_watchpoint
Definition: breakpoint.h:77
bp_none
Definition: breakpoint.h:69
bp_hardware_watchpoint
Definition: breakpoint.h:76
hw_access
Definition: break-common.h:26
bp_access_watchpoint
Definition: breakpoint.h:78
END_INTEGER_CONSTANTS
#define END_INTEGER_CONSTANTS
Definition: guile-internal.h:113

Definition at line 1144 of file scm-breakpoint.c.

Referenced by gdbscm_initialize_breakpoints().

## ◆ breakpoint_smob_name

const char breakpoint_smob_name[] = "gdb:breakpoint"
| 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().

## ◆ breakpoint_smob_tag

scm_t_bits breakpoint_smob_tag
| static

Definition at line 96 of file scm-breakpoint.c.

Referenced by bpscm_is_breakpoint(), bpscm_make_breakpoint_smob(), and gdbscm_initialize_breakpoints().

## ◆ internal_keyword

SCM internal_keyword
| static

Definition at line 105 of file scm-breakpoint.c.

Referenced by gdbscm_initialize_breakpoints(), and gdbscm_make_breakpoint().

## ◆ pending_breakpoint_scm

SCM pending_breakpoint_scm = SCM_BOOL_F
| static

Definition at line 100 of file scm-breakpoint.c.

Referenced by bpscm_breakpoint_created(), and gdbscm_register_breakpoint_x().

## ◆ type_keyword

SCM type_keyword
| static

Definition at line 103 of file scm-breakpoint.c.

Referenced by gdbscm_initialize_breakpoints(), and gdbscm_make_breakpoint().

## ◆ wp_class_keyword

SCM wp_class_keyword
| static

Definition at line 104 of file scm-breakpoint.c.

Referenced by gdbscm_initialize_breakpoints(), and gdbscm_make_breakpoint().