GDBserver

Macros | Enumerations | Functions
mem-break.h File Reference
`#include "break-common.h"`

Go to the source code of this file.

## Macros
#define | Z_PACKET_SW_BP '0'
#define | Z_PACKET_HW_BP '1'
#define | Z_PACKET_WRITE_WP '2'
#define | Z_PACKET_READ_WP '3'
#define | Z_PACKET_ACCESS_WP '4'

## Enumerations
enum | raw_bkpt_type { raw_bkpt_type_sw, raw_bkpt_type_hw, raw_bkpt_type_write_wp, raw_bkpt_type_read_wp, raw_bkpt_type_access_wp }

## Functions
enum raw_bkpt_type | Z_packet_to_raw_bkpt_type (char z_type)
enum target_hw_bp_type | raw_bkpt_type_to_target_hw_bp_type (enum raw_bkpt_type raw_type)
struct gdb_breakpoint * | set_gdb_breakpoint (char z_type, CORE_ADDR addr, int kind, int *err)
int | delete_gdb_breakpoint (char z_type, CORE_ADDR addr, int kind)
int | breakpoint_here (CORE_ADDR addr)
int | breakpoint_inserted_here (CORE_ADDR addr)
int | software_breakpoint_inserted_here (CORE_ADDR addr)
int | hardware_breakpoint_inserted_here (CORE_ADDR addr)
int | single_step_breakpoint_inserted_here (CORE_ADDR addr)
void | clear_breakpoint_conditions_and_commands (struct gdb_breakpoint *bp)
int | add_breakpoint_condition (struct gdb_breakpoint *bp, const char **condition)
int | add_breakpoint_commands (struct gdb_breakpoint *bp, const char **commands, int persist)
int | any_persistent_commands (void)
int | gdb_condition_true_at_breakpoint (CORE_ADDR where)
int | gdb_no_commands_at_breakpoint (CORE_ADDR where)
void | run_breakpoint_commands (CORE_ADDR where)
int | gdb_breakpoint_here (CORE_ADDR where)
struct breakpoint * | set_breakpoint_at (CORE_ADDR where, int(*handler)(CORE_ADDR))
int | delete_breakpoint (struct breakpoint *bkpt)
void | set_single_step_breakpoint (CORE_ADDR stop_at, ptid_t ptid)
void | delete_single_step_breakpoints (struct thread_info *thread)
void | reinsert_single_step_breakpoints (struct thread_info *thread)
void | uninsert_single_step_breakpoints (struct thread_info *thread)
void | reinsert_breakpoints_at (CORE_ADDR where)
int | has_single_step_breakpoints (struct thread_info *thread)
void | uninsert_breakpoints_at (CORE_ADDR where)
void | reinsert_all_breakpoints (void)
void | uninsert_all_breakpoints (void)
void | check_breakpoints (CORE_ADDR stop_pc)
void | check_mem_read (CORE_ADDR mem_addr, unsigned char *buf, int mem_len)
void | check_mem_write (CORE_ADDR mem_addr, unsigned char *buf, const unsigned char *myaddr, int mem_len)
void | delete_all_breakpoints (void)
void | mark_breakpoints_out (struct process_info *proc)
void | free_all_breakpoints (struct process_info *proc)
void | validate_breakpoints (void)
struct fast_tracepoint_jump * | set_fast_tracepoint_jump (CORE_ADDR where, unsigned char *insn, ULONGEST length)
void | inc_ref_fast_tracepoint_jump (struct fast_tracepoint_jump *jp)
int | delete_fast_tracepoint_jump (struct fast_tracepoint_jump *todel)
int | fast_tracepoint_jump_here (CORE_ADDR)
void | uninsert_fast_tracepoint_jumps_at (CORE_ADDR pc)
void | reinsert_fast_tracepoint_jumps_at (CORE_ADDR where)
int | insert_memory_breakpoint (struct raw_breakpoint *bp)
int | remove_memory_breakpoint (struct raw_breakpoint *bp)
void | clone_all_breakpoints (struct thread_info *child_thread, const struct thread_info *parent_thread)

## Macro Definition Documentation

## ◆ Z_PACKET_ACCESS_WP

#define Z_PACKET_ACCESS_WP '4'

Definition at line 37 of file mem-break.h.

Referenced by aarch64_supports_z_point_type(), arm_supports_z_point_type(), cris_supports_z_point_type(), i386_supports_z_point_type(), mips_supports_z_point_type(), nto_supports_z_point_type(), ppc_supports_z_point_type(), x86_supports_z_point_type(), and Z_packet_to_raw_bkpt_type().

## ◆ Z_PACKET_HW_BP

#define Z_PACKET_HW_BP '1'

Definition at line 34 of file mem-break.h.

Referenced by aarch64_supports_z_point_type(), arm_supports_z_point_type(), gdb_breakpoint_here(), gdb_condition_true_at_breakpoint(), gdb_no_commands_at_breakpoint(), nto_supports_z_point_type(), ppc_supports_z_point_type(), run_breakpoint_commands(), set_gdb_breakpoint_1(), x86_supports_z_point_type(), and Z_packet_to_raw_bkpt_type().

## ◆ Z_PACKET_READ_WP

#define Z_PACKET_READ_WP '3'

Definition at line 36 of file mem-break.h.

Referenced by aarch64_supports_z_point_type(), arm_supports_z_point_type(), cris_supports_z_point_type(), mips_supports_z_point_type(), nto_supports_z_point_type(), and Z_packet_to_raw_bkpt_type().

## ◆ Z_PACKET_SW_BP

#define Z_PACKET_SW_BP '0'

Definition at line 33 of file mem-break.h.

Referenced by aarch64_supports_z_point_type(), arm_supports_z_point_type(), delete_gdb_breakpoint(), gdb_breakpoint_here(), gdb_condition_true_at_breakpoint(), gdb_no_commands_at_breakpoint(), nto_supports_z_point_type(), ppc_supports_z_point_type(), run_breakpoint_commands(), s390_supports_z_point_type(), set_gdb_breakpoint(), set_gdb_breakpoint_1(), x86_supports_z_point_type(), and Z_packet_to_raw_bkpt_type().

## ◆ Z_PACKET_WRITE_WP

#define Z_PACKET_WRITE_WP '2'

Definition at line 35 of file mem-break.h.

Referenced by aarch64_supports_z_point_type(), arm_supports_z_point_type(), cris_supports_z_point_type(), i386_supports_z_point_type(), mips_supports_z_point_type(), nto_supports_z_point_type(), ppc_supports_z_point_type(), x86_supports_z_point_type(), and Z_packet_to_raw_bkpt_type().

## Enumeration Type Documentation

## ◆ raw_bkpt_type

enum raw_bkpt_type

Enumerator
raw_bkpt_type_sw |
raw_bkpt_type_hw |
raw_bkpt_type_write_wp |
raw_bkpt_type_read_wp |
raw_bkpt_type_access_wp |

Definition at line 41 of file mem-break.h.

## Function Documentation

## ◆ add_breakpoint_commands()

int add_breakpoint_commands | ( | struct gdb_breakpoint * | bp,
|  | const char ** | commands,
|  | int | persist
| ) |  |

Definition at line 1370 of file mem-break.c.

References add_commands_to_breakpoint(), gdb_parse_agent_expr(), and warning().

Referenced by process_point_options().

## ◆ add_breakpoint_condition()

int add_breakpoint_condition | ( | struct gdb_breakpoint * | bp,
|  | const char ** | condition
| ) |  |

Definition at line 1272 of file mem-break.c.

References add_condition_to_breakpoint(), gdb_parse_agent_expr(), and warning().

Referenced by process_point_options().

## ◆ any_persistent_commands()

int any_persistent_commands | ( | void |  | ) |

Definition at line 306 of file mem-break.c.

References process_info::breakpoints, gdb_breakpoint::command_list, current_process(), is_gdb_breakpoint(), point_command_list::next, breakpoint::next, point_command_list::persistence, and breakpoint::type.

Referenced by handle_detach().

## ◆ breakpoint_here()

int breakpoint_here | ( | CORE_ADDR | addr | ) |

Definition at line 1773 of file mem-break.c.

References current_process(), raw_breakpoint::next, raw_breakpoint::pc, raw_bkpt_type_hw, raw_bkpt_type_sw, process_info::raw_breakpoints, and raw_breakpoint::raw_type.

Referenced by need_step_over_p().

## ◆ breakpoint_inserted_here()

int breakpoint_inserted_here | ( | CORE_ADDR | addr | ) |

Definition at line 1788 of file mem-break.c.

References current_process(), raw_breakpoint::inserted, raw_breakpoint::next, raw_breakpoint::pc, raw_bkpt_type_hw, raw_bkpt_type_sw, process_info::raw_breakpoints, and raw_breakpoint::raw_type.

Referenced by linux_wait_1().

## ◆ check_breakpoints()

void check_breakpoints | ( | CORE_ADDR | stop_pc | ) |

Definition at line 1728 of file mem-break.c.

References process_info::breakpoints, current_process(), other_breakpoint::handler, raw_breakpoint::inserted, breakpoint::next, raw_breakpoint::pc, breakpoint::raw, raw_bkpt_type_hw, raw_bkpt_type_sw, raw_breakpoint::raw_type, release_breakpoint(), breakpoint::type, and warning().

Referenced by handle_exception(), and linux_wait_1().

## ◆ check_mem_read()

void check_mem_read | ( | CORE_ADDR | mem_addr,
|  | unsigned char * | buf,
|  | int | mem_len
| ) |  |

Definition at line 1919 of file mem-break.c.

References bp_size(), current_process(), delete_disabled_breakpoints(), fast_tracepoint_jump_shadow, process_info::fast_tracepoint_jumps, gdb_assert, raw_breakpoint::inserted, fast_tracepoint_jump::inserted, fast_tracepoint_jump::length, raw_breakpoint::next, fast_tracepoint_jump::next, raw_breakpoint::old_data, raw_breakpoint::pc, fast_tracepoint_jump::pc, raw_bkpt_type_sw, process_info::raw_breakpoints, raw_breakpoint::raw_type, and validate_inserted_breakpoint().

Referenced by read_inferior_memory().

## ◆ check_mem_write()

void check_mem_write | ( | CORE_ADDR | mem_addr,
|  | unsigned char * | buf,
|  | const unsigned char * | myaddr,
|  | int | mem_len
| ) |  |

Definition at line 2002 of file mem-break.c.

References bp_opcode(), bp_size(), current_process(), delete_disabled_breakpoints(), fast_tracepoint_jump_insn, fast_tracepoint_jump_shadow, process_info::fast_tracepoint_jumps, gdb_assert, raw_breakpoint::inserted, fast_tracepoint_jump::inserted, fast_tracepoint_jump::length, raw_breakpoint::next, fast_tracepoint_jump::next, raw_breakpoint::old_data, raw_breakpoint::pc, fast_tracepoint_jump::pc, raw_bkpt_type_sw, process_info::raw_breakpoints, raw_breakpoint::raw_type, and validate_inserted_breakpoint().

Referenced by write_inferior_memory().

## ◆ clear_breakpoint_conditions_and_commands()

void clear_breakpoint_conditions_and_commands | ( | struct gdb_breakpoint * | bp | ) |

Definition at line 1246 of file mem-break.c.

References clear_breakpoint_commands(), and clear_breakpoint_conditions().

Referenced by delete_gdb_breakpoint_1(), and process_serial_event().

## ◆ clone_all_breakpoints()

void clone_all_breakpoints | ( | struct thread_info * | child_thread,
|  | const struct thread_info * | parent_thread
| ) |  |

Definition at line 2223 of file mem-break.c.

References APPEND_TO_LIST, process_info::breakpoints, clone_one_breakpoint(), get_thread_process(), breakpoint::next, ptid_of(), breakpoint::raw, and process_info::raw_breakpoints.

Referenced by handle_extended_wait().

## ◆ delete_all_breakpoints()

void delete_all_breakpoints | ( | void |  | ) |

Definition at line 2094 of file mem-break.c.

References process_info::breakpoints, current_process(), and delete_breakpoint_1().

## ◆ delete_breakpoint()

int delete_breakpoint | ( | struct breakpoint * | bkpt | ) |

Definition at line 979 of file mem-break.c.

References current_process(), and delete_breakpoint_1().

Referenced by clear_installed_tracepoints(), delete_gdb_breakpoint_1(), linux_wait_1(), maybe_move_out_of_jump_pad(), set_gdb_breakpoint_1(), stop_tracing(), and upload_fast_traceframes().

## ◆ delete_fast_tracepoint_jump()

int delete_fast_tracepoint_jump | ( | struct fast_tracepoint_jump * | todel | ) |

Definition at line 559 of file mem-break.c.

References alloca(), current_process(), debug_printf(), debug_threads, fast_tracepoint_jump_shadow, process_info::fast_tracepoint_jumps, free(), fast_tracepoint_jump::length, fast_tracepoint_jump::next, paddress(), fast_tracepoint_jump::pc, fast_tracepoint_jump::refcount, strerror(), warning(), and write_inferior_memory().

Referenced by clear_installed_tracepoints().

## ◆ delete_gdb_breakpoint()

int delete_gdb_breakpoint | ( | char | z_type,
|  | CORE_ADDR | addr,
|  | int | kind
| ) |  |

Definition at line 1169 of file mem-break.c.

References check_gdb_bp_preconditions(), delete_gdb_breakpoint_1(), done_accessing_memory(), prepare_to_access_memory(), and Z_PACKET_SW_BP.

Referenced by process_serial_event().

## ◆ delete_single_step_breakpoints()

void delete_single_step_breakpoints | ( | struct thread_info * | thread | ) |

Definition at line 1492 of file mem-break.c.

References process_info::breakpoints, current_thread, get_thread_process(), ptid_equal(), ptid_of(), release_breakpoint(), and breakpoint::type.

Referenced by finish_step_over(), handle_extended_wait(), and linux_wait_1().

## ◆ fast_tracepoint_jump_here()

int fast_tracepoint_jump_here | ( | CORE_ADDR |  | ) |

Definition at line 551 of file mem-break.c.

References find_fast_tracepoint_jump_at().

Referenced by need_step_over_p().

## ◆ free_all_breakpoints()

void free_all_breakpoints | ( | struct process_info * | proc | ) |

Definition at line 2117 of file mem-break.c.

References process_info::breakpoints, delete_breakpoint_1(), and mark_breakpoints_out().

Referenced by remove_process().

## ◆ gdb_breakpoint_here()

int gdb_breakpoint_here | ( | CORE_ADDR | where | ) |

Definition at line 1472 of file mem-break.c.

References find_gdb_breakpoint(), Z_PACKET_HW_BP, and Z_PACKET_SW_BP.

Referenced by linux_wait_1(), move_out_of_jump_pad_callback(), need_step_over_p(), and stuck_in_jump_pad_callback().

## ◆ gdb_condition_true_at_breakpoint()

int gdb_condition_true_at_breakpoint | ( | CORE_ADDR | where | ) |

Definition at line 1342 of file mem-break.c.

References gdb_condition_true_at_breakpoint_z_type(), Z_PACKET_HW_BP, and Z_PACKET_SW_BP.

Referenced by linux_wait_1(), and need_step_over_p().

## ◆ gdb_no_commands_at_breakpoint()

int gdb_no_commands_at_breakpoint | ( | CORE_ADDR | where | ) |

Definition at line 1419 of file mem-break.c.

References gdb_no_commands_at_breakpoint_z_type(), Z_PACKET_HW_BP, and Z_PACKET_SW_BP.

Referenced by linux_wait_1(), and need_step_over_p().

## ◆ hardware_breakpoint_inserted_here()

int hardware_breakpoint_inserted_here | ( | CORE_ADDR | addr | ) |

Definition at line 1823 of file mem-break.c.

References current_process(), raw_breakpoint::inserted, raw_breakpoint::next, raw_breakpoint::pc, raw_bkpt_type_hw, process_info::raw_breakpoints, and raw_breakpoint::raw_type.

Referenced by save_stop_reason(), and thread_still_has_status_pending_p().

## ◆ has_single_step_breakpoints()

int has_single_step_breakpoints | ( | struct thread_info * | thread | ) |

Definition at line 1664 of file mem-break.c.

References process_info::breakpoints, get_thread_process(), ptid_equal(), ptid_of(), and breakpoint::type.

Referenced by finish_step_over(), handle_extended_wait(), linux_wait_1(), maybe_hw_step(), and proceed_one_lwp().

## ◆ inc_ref_fast_tracepoint_jump()

void inc_ref_fast_tracepoint_jump | ( | struct fast_tracepoint_jump * | jp | ) |

Definition at line 621 of file mem-break.c.

References fast_tracepoint_jump::refcount.

Referenced by clone_fast_tracepoint().

## ◆ insert_memory_breakpoint()

int insert_memory_breakpoint | ( | struct raw_breakpoint * | bp | ) |

Definition at line 364 of file mem-break.c.

References bp_opcode(), bp_size(), debug_printf(), debug_threads, MAX_BREAKPOINT_LEN, raw_breakpoint::old_data, paddress(), raw_breakpoint::pc, read_inferior_memory(), strerror(), the_target, and target_ops::write_memory.

Referenced by linux_insert_point(), and ppc_insert_point().

## ◆ mark_breakpoints_out()

void mark_breakpoints_out | ( | struct process_info * | proc | ) |

Definition at line 2105 of file mem-break.c.

References raw_breakpoint::inserted, raw_breakpoint::next, and process_info::raw_breakpoints.

Referenced by free_all_breakpoints(), and handle_target_event().

## ◆ raw_bkpt_type_to_target_hw_bp_type()

enum target_hw_bp_type raw_bkpt_type_to_target_hw_bp_type | ( | enum raw_bkpt_type | raw_type | ) |

Definition at line 243 of file mem-break.c.

References hw_access, hw_execute, hw_read, hw_write, internal_error(), raw_bkpt_type_access_wp, raw_bkpt_type_hw, raw_bkpt_type_read_wp, and raw_bkpt_type_write_wp.

Referenced by aarch64_insert_point(), aarch64_remove_point(), i386_insert_point(), i386_remove_point(), mips_insert_point(), mips_remove_point(), x86_insert_point(), and x86_remove_point().

## ◆ reinsert_all_breakpoints()

void reinsert_all_breakpoints | ( | void |  | ) |

Definition at line 1689 of file mem-break.c.

References current_process(), raw_breakpoint::inserted, raw_breakpoint::next, raw_bkpt_type_hw, raw_bkpt_type_sw, process_info::raw_breakpoints, raw_breakpoint::raw_type, and reinsert_raw_breakpoint().

Referenced by run_inferior_command().

## ◆ reinsert_breakpoints_at()

void reinsert_breakpoints_at | ( | CORE_ADDR | where | ) |

Definition at line 1636 of file mem-break.c.

References current_process(), debug_printf(), debug_threads, raw_breakpoint::next, paddress(), raw_breakpoint::pc, raw_bkpt_type_hw, raw_bkpt_type_sw, process_info::raw_breakpoints, raw_breakpoint::raw_type, and reinsert_raw_breakpoint().

Referenced by finish_step_over().

## ◆ reinsert_fast_tracepoint_jumps_at()

void reinsert_fast_tracepoint_jumps_at | ( | CORE_ADDR | where | ) |

Definition at line 748 of file mem-break.c.

References alloca(), debug_printf(), debug_threads, error(), fast_tracepoint_jump_shadow, find_fast_tracepoint_jump_at(), fast_tracepoint_jump::inserted, fast_tracepoint_jump::length, paddress(), strerror(), and write_inferior_memory().

Referenced by finish_step_over().

## ◆ reinsert_single_step_breakpoints()

void reinsert_single_step_breakpoints | ( | struct thread_info * | thread | ) |

Definition at line 1702 of file mem-break.c.

References process_info::breakpoints, current_thread, gdb_assert, get_thread_process(), breakpoint::next, ptid_equal(), ptid_of(), reinsert_raw_breakpoint(), and breakpoint::type.

Referenced by handle_extended_wait().

## ◆ remove_memory_breakpoint()

int remove_memory_breakpoint | ( | struct raw_breakpoint * | bp | ) |

Definition at line 399 of file mem-break.c.

References bp_size(), debug_printf(), debug_threads, MAX_BREAKPOINT_LEN, raw_breakpoint::old_data, paddress(), raw_breakpoint::pc, strerror(), and write_inferior_memory().

Referenced by linux_remove_point(), and ppc_remove_point().

## ◆ run_breakpoint_commands()

void run_breakpoint_commands | ( | CORE_ADDR | where | ) |

Definition at line 1461 of file mem-break.c.

References run_breakpoint_commands_z_type(), Z_PACKET_HW_BP, and Z_PACKET_SW_BP.

Referenced by linux_wait_1().

## ◆ set_breakpoint_at()

struct breakpoint* set_breakpoint_at | ( | CORE_ADDR | where,
|  | int(*)(CORE_ADDR) | handler
| ) |  |

Definition at line 868 of file mem-break.c.

References set_breakpoint_type_at().

Referenced by cmd_qtstart(), get_child_debug_event(), install_tracepoint(), maybe_move_out_of_jump_pad(), and upload_fast_traceframes().

## ◆ set_fast_tracepoint_jump()

struct fast_tracepoint_jump* set_fast_tracepoint_jump | ( | CORE_ADDR | where,
|  | unsigned char * | insn,
|  | ULONGEST | length
| ) |  |

Definition at line 627 of file mem-break.c.

References alloca(), current_process(), debug_printf(), debug_threads, fast_tracepoint_jump_insn, fast_tracepoint_jump_shadow, process_info::fast_tracepoint_jumps, find_fast_tracepoint_jump_at(), free(), fast_tracepoint_jump::inserted, fast_tracepoint_jump::length, fast_tracepoint_jump::next, paddress(), fast_tracepoint_jump::pc, read_inferior_memory(), fast_tracepoint_jump::refcount, strerror(), write_inferior_memory(), and xcalloc().

Referenced by install_fast_tracepoint(), and tracepoint_send_agent().

## ◆ set_gdb_breakpoint()

struct gdb_breakpoint* set_gdb_breakpoint | ( | char | z_type,
|  | CORE_ADDR | addr,
|  | int | kind,
|  | int * | err
| ) |  |

Definition at line 1114 of file mem-break.c.

References check_gdb_bp_preconditions(), done_accessing_memory(), prepare_to_access_memory(), set_gdb_breakpoint_1(), and Z_PACKET_SW_BP.

Referenced by process_serial_event().

## ◆ set_single_step_breakpoint()

void set_single_step_breakpoint | ( | CORE_ADDR | stop_at,
|  | ptid_t | ptid
| ) |  |

Definition at line 1480 of file mem-break.c.

References current_ptid, gdb_assert, single_step_breakpoint::ptid, ptid_get_pid(), and set_breakpoint_type_at().

Referenced by install_software_single_step_breakpoints().

## ◆ single_step_breakpoint_inserted_here()

int single_step_breakpoint_inserted_here | ( | CORE_ADDR | addr | ) |

Definition at line 1840 of file mem-break.c.

References process_info::breakpoints, current_process(), raw_breakpoint::inserted, breakpoint::next, raw_breakpoint::pc, breakpoint::raw, and breakpoint::type.

Referenced by linux_wait_1().

## ◆ software_breakpoint_inserted_here()

int software_breakpoint_inserted_here | ( | CORE_ADDR | addr | ) |

Definition at line 1806 of file mem-break.c.

References current_process(), raw_breakpoint::inserted, raw_breakpoint::next, raw_breakpoint::pc, raw_bkpt_type_sw, process_info::raw_breakpoints, and raw_breakpoint::raw_type.

## ◆ uninsert_all_breakpoints()

void uninsert_all_breakpoints | ( | void |  | ) |

Definition at line 1579 of file mem-break.c.

References current_process(), raw_breakpoint::inserted, raw_breakpoint::next, raw_bkpt_type_hw, raw_bkpt_type_sw, process_info::raw_breakpoints, raw_breakpoint::raw_type, and uninsert_raw_breakpoint().

Referenced by run_inferior_command().

## ◆ uninsert_breakpoints_at()

void uninsert_breakpoints_at | ( | CORE_ADDR | where | ) |

Definition at line 1550 of file mem-break.c.

References current_process(), debug_printf(), debug_threads, raw_breakpoint::inserted, raw_breakpoint::next, paddress(), raw_breakpoint::pc, raw_bkpt_type_hw, raw_bkpt_type_sw, process_info::raw_breakpoints, raw_breakpoint::raw_type, and uninsert_raw_breakpoint().

Referenced by start_step_over().

## ◆ uninsert_fast_tracepoint_jumps_at()

void uninsert_fast_tracepoint_jumps_at | ( | CORE_ADDR | pc | ) |

Definition at line 700 of file mem-break.c.

References alloca(), debug_printf(), debug_threads, fast_tracepoint_jump_shadow, find_fast_tracepoint_jump_at(), fast_tracepoint_jump::inserted, fast_tracepoint_jump::length, paddress(), fast_tracepoint_jump::pc, strerror(), and write_inferior_memory().

Referenced by start_step_over().

## ◆ uninsert_single_step_breakpoints()

void uninsert_single_step_breakpoints | ( | struct thread_info * | thread | ) |

Definition at line 1592 of file mem-break.c.

References process_info::breakpoints, current_thread, gdb_assert, get_thread_process(), breakpoint::next, ptid_equal(), ptid_of(), breakpoint::type, and uninsert_raw_breakpoint().

Referenced by handle_extended_wait().

## ◆ validate_breakpoints()

void validate_breakpoints | ( | void |  | ) |

Definition at line 1902 of file mem-break.c.

References process_info::breakpoints, current_process(), delete_disabled_breakpoints(), raw_breakpoint::inserted, breakpoint::next, breakpoint::raw, raw_bkpt_type_sw, raw_breakpoint::raw_type, and validate_inserted_breakpoint().

Referenced by handle_query(), and set_gdb_breakpoint_1().

## ◆ Z_packet_to_raw_bkpt_type()

enum raw_bkpt_type Z_packet_to_raw_bkpt_type | ( | char | z_type | ) |

Definition at line 274 of file mem-break.c.

References gdb_assert_not_reached, raw_bkpt_type_access_wp, raw_bkpt_type_hw, raw_bkpt_type_read_wp, raw_bkpt_type_sw, raw_bkpt_type_write_wp, Z_PACKET_ACCESS_WP, Z_PACKET_HW_BP, Z_PACKET_READ_WP, Z_PACKET_SW_BP, and Z_PACKET_WRITE_WP.

Referenced by set_gdb_breakpoint_1().