GDB (xrefs)

Public Member Functions | Public Attributes | List of all members
watchpoint Struct Reference

`#include "breakpoint.h"`

Inheritance diagram for watchpoint:

## Public Member Functions
| ~watchpoint () override
Public Member Functions inherited from breakpoint
virtual | ~breakpoint ()

## Public Attributes
char * | exp_string
char * | exp_string_reparse
expression_up | exp
const struct block * | exp_valid_block
expression_up | cond_exp
const struct block * | cond_exp_valid_block
struct value * | val
int | val_valid
int | val_bitpos
int | val_bitsize
struct frame_id | watchpoint_frame
ptid_t | watchpoint_thread
enum watchpoint_triggered | watchpoint_triggered
int | exact
CORE_ADDR | hw_wp_mask
Public Attributes inherited from breakpoint
const breakpoint_ops * | ops = NULL
breakpoint * | next = NULL
bptype | type = bp_none
enum enable_state | enable_state = bp_enabled
bpdisp | disposition = disp_del
int | number = 0
bp_location * | loc = NULL
bool | silent = false
bool | display_canonical = false
int | ignore_count = 0
int | enable_count = 0
counted_command_line | commands
struct frame_id | frame_id = null_frame_id
program_space * | pspace = NULL
event_location_up | location
char * | filter = NULL
event_location_up | location_range_end
struct gdbarch * | gdbarch = NULL
enum language | language = language_unknown
int | input_radix = 0
char * | cond_string = NULL
char * | extra_string = NULL
breakpoint * | related_breakpoint = NULL
int | thread = -1
int | task = 0
int | hit_count = 0
int | condition_not_parsed = 0
gdbpy_breakpoint_object * | py_bp_object = NULL
gdbscm_breakpoint_object * | scm_bp_object = NULL

## Detailed Description

Definition at line 793 of file breakpoint.h.

## Constructor & Destructor Documentation

## ◆ ~watchpoint()

watchpoint::~watchpoint | ( |  | ) |
| override

Definition at line 10130 of file breakpoint.c.

References exp_string, exp_string_reparse, val, value_free(), and xfree().

## Member Data Documentation

## ◆ cond_exp

expression_up watchpoint::cond_exp

Definition at line 809 of file breakpoint.h.

Referenced by bpstat_check_breakpoint_conditions(), insert_watchpoint(), remove_watchpoint(), set_breakpoint_condition(), update_watchpoint(), and watchpoint_locations_match().

## ◆ cond_exp_valid_block

const struct block* watchpoint::cond_exp_valid_block

Definition at line 812 of file breakpoint.h.

Referenced by bpstat_check_breakpoint_conditions(), set_breakpoint_condition(), and update_watchpoint().

## ◆ exact

int watchpoint::exact

Definition at line 842 of file breakpoint.h.

Referenced by insert_watchpoint(), remove_watchpoint(), resources_needed_watchpoint(), and update_watchpoint().

## ◆ exp

expression_up watchpoint::exp

Definition at line 804 of file breakpoint.h.

Referenced by bppy_set_condition(), gdbscm_set_breakpoint_condition_x(), set_breakpoint_condition(), update_watchpoint(), and watchpoint_check().

## ◆ exp_string

char* watchpoint::exp_string

Definition at line 799 of file breakpoint.h.

Referenced by bppy_get_expression(), gdbscm_breakpoint_expression(), print_mention_masked_watchpoint(), print_mention_watchpoint(), print_one_breakpoint_location(), print_recreate_masked_watchpoint(), print_recreate_watchpoint(), update_watchpoint(), and ~watchpoint().

## ◆ exp_string_reparse

char* watchpoint::exp_string_reparse

Definition at line 801 of file breakpoint.h.

Referenced by update_watchpoint(), and ~watchpoint().

## ◆ exp_valid_block

const struct block* watchpoint::exp_valid_block

Definition at line 807 of file breakpoint.h.

Referenced by breakpoint_init_inferior(), update_watchpoint(), and watchpoint_check().

## ◆ hw_wp_mask

CORE_ADDR watchpoint::hw_wp_mask

Definition at line 845 of file breakpoint.h.

Referenced by insert_masked_watchpoint(), print_one_detail_masked_watchpoint(), print_recreate_masked_watchpoint(), remove_masked_watchpoint(), resources_needed_masked_watchpoint(), and watchpoints_triggered().

## ◆ val

struct value* watchpoint::val

Definition at line 816 of file breakpoint.h.

Referenced by gdb.printer.bound_registers.MpxBound128Printer::__init__(), gdb.FrameDecorator.SymValueWrapper::__init__(), gdb.printing._EnumInstance::__init__(), gdb-gdb.TypeFlagsPrinter::__str__(), gdb-gdb.StructMainTypePrettyPrinter::bounds_img(), breakpoint_init_inferior(), gdb-gdb.StructMainTypePrettyPrinter::flags_to_string(), invalidate_bp_value_on_memory_change(), gdb-gdb.StructMainTypePrettyPrinter::owner_to_string(), print_it_watchpoint(), gdb-gdb.StructMainTypePrettyPrinter::struct_field_img(), gdb.printer.bound_registers.MpxBound128Printer::to_string(), gdb-gdb.StructTypePrettyPrinter::to_string(), gdb-gdb.StructMainTypePrettyPrinter::to_string(), gdb.printing._EnumInstance::to_string(), gdb-gdb.StructMainTypePrettyPrinter::type_specific_img(), update_watchpoint(), gdb.FrameDecorator.SymValueWrapper::value(), watchpoint_check(), and ~watchpoint().

## ◆ val_bitpos

int watchpoint::val_bitpos

Definition at line 823 of file breakpoint.h.

Referenced by extract_bitfield_from_watchpoint_value(), and update_watchpoint().

## ◆ val_bitsize

int watchpoint::val_bitsize

Definition at line 824 of file breakpoint.h.

Referenced by extract_bitfield_from_watchpoint_value(), update_watchpoint(), and watchpoint_check().

## ◆ val_valid

int watchpoint::val_valid

Definition at line 819 of file breakpoint.h.

Referenced by breakpoint_init_inferior(), invalidate_bp_value_on_memory_change(), update_watchpoint(), and watchpoint_check().

## ◆ watchpoint_frame

struct frame_id watchpoint::watchpoint_frame

Definition at line 829 of file breakpoint.h.

Referenced by update_watchpoint(), and watchpoint_check().

## ◆ watchpoint_thread

ptid_t watchpoint::watchpoint_thread

Definition at line 834 of file breakpoint.h.

Referenced by watchpoint_in_thread_scope().

## ◆ watchpoint_triggered

enum watchpoint_triggered watchpoint::watchpoint_triggered

Definition at line 838 of file breakpoint.h.

Referenced by bpstat_check_watchpoint(), bpstat_stop_status(), breakpoint_hit_watchpoint(), and watchpoints_triggered().

The documentation for this struct was generated from the following files:

- /tmp/gdb-8.1/gdb/breakpoint.h
- /tmp/gdb-8.1/gdb/breakpoint.c