GDBserver

Public Attributes | List of all members
linux_target_ops Struct Reference

`#include "linux-low.h"`

## Public Attributes
void(* | arch_setup )(void)
const struct regs_info *(* | regs_info )(void)
int(* | cannot_fetch_register )(int)
int(* | cannot_store_register )(int)
int(* | fetch_register )(struct regcache *regcache, int regno)
CORE_ADDR(* | get_pc )(struct regcache *regcache)
void(* | set_pc )(struct regcache *regcache, CORE_ADDR newpc)
int(* | breakpoint_kind_from_pc )(CORE_ADDR *pcptr)
const gdb_byte *(* | sw_breakpoint_from_kind )(int kind, int *size)
std::vector< CORE_ADDR >(* | get_next_pcs )(struct regcache *regcache)
int | decr_pc_after_break
int(* | breakpoint_at )(CORE_ADDR pc)
int(* | supports_z_point_type )(char z_type)
int(* | insert_point )(enum raw_bkpt_type type, CORE_ADDR addr, int size, struct raw_breakpoint *bp)
int(* | remove_point )(enum raw_bkpt_type type, CORE_ADDR addr, int size, struct raw_breakpoint *bp)
int(* | stopped_by_watchpoint )(void)
CORE_ADDR(* | stopped_data_address )(void)
void(* | collect_ptrace_register )(struct regcache *regcache, int regno, char *buf)
void(* | supply_ptrace_register )(struct regcache *regcache, int regno, const char *buf)
int(* | siginfo_fixup )(siginfo_t *native, gdb_byte *inf, int direction)
struct arch_process_info *(* | new_process )(void)
void(* | delete_process )(struct arch_process_info *info)
void(* | new_thread )(struct lwp_info *)
void(* | delete_thread )(struct arch_lwp_info *)
void(* | new_fork )(struct process_info *parent, struct process_info *child)
void(* | prepare_to_resume )(struct lwp_info *)
void(* | process_qsupported )(char **, int count)
int(* | supports_tracepoints )(void)
int(* | get_thread_area )(int lwpid, CORE_ADDR *addrp)
int(* | install_fast_tracepoint_jump_pad )(CORE_ADDR tpoint, CORE_ADDR tpaddr, CORE_ADDR collector, CORE_ADDR lockaddr, ULONGEST orig_size, CORE_ADDR *jump_entry, CORE_ADDR *trampoline, ULONGEST *trampoline_size, unsigned char *jjump_pad_insn, ULONGEST *jjump_pad_insn_size, CORE_ADDR *adjusted_insn_addr, CORE_ADDR *adjusted_insn_addr_end, char *err)
struct emit_ops *(* | emit_ops )(void)
int(* | get_min_fast_tracepoint_insn_len )(void)
int(* | supports_range_stepping )(void)
int(* | breakpoint_kind_from_current_state )(CORE_ADDR *pcptr)
int(* | supports_hardware_single_step )(void)
void(* | get_syscall_trapinfo )(struct regcache *regcache, int *sysno)
int(* | get_ipa_tdesc_idx )(void)

## Detailed Description

Definition at line 128 of file linux-low.h.

## Member Data Documentation

## ◆ arch_setup

void(* linux_target_ops::arch_setup) (void)

Definition at line 131 of file linux-low.h.

Referenced by do_attach(), initialize_low(), linux_arch_setup(), and x86_linux_update_xmltarget().

## ◆ breakpoint_at

int(* linux_target_ops::breakpoint_at) (CORE_ADDR pc)

Definition at line 161 of file linux-low.h.

Referenced by linux_wait_1(), save_stop_reason(), and thread_still_has_status_pending_p().

## ◆ breakpoint_kind_from_current_state

int(* linux_target_ops::breakpoint_kind_from_current_state) (CORE_ADDR *pcptr)

Definition at line 248 of file linux-low.h.

Referenced by linux_breakpoint_kind_from_current_state().

## ◆ breakpoint_kind_from_pc

int(* linux_target_ops::breakpoint_kind_from_pc) (CORE_ADDR *pcptr)

Definition at line 152 of file linux-low.h.

Referenced by linux_breakpoint_kind_from_pc().

## ◆ cannot_fetch_register

int(* linux_target_ops::cannot_fetch_register) (int)

Definition at line 134 of file linux-low.h.

## ◆ cannot_store_register

int(* linux_target_ops::cannot_store_register) (int)

Definition at line 139 of file linux-low.h.

## ◆ collect_ptrace_register

void(* linux_target_ops::collect_ptrace_register) (struct regcache *regcache, int regno, char *buf)

Definition at line 176 of file linux-low.h.

## ◆ decr_pc_after_break

int linux_target_ops::decr_pc_after_break

Definition at line 160 of file linux-low.h.

Referenced by linux_wait_1(), and save_stop_reason().

## ◆ delete_process

void(* linux_target_ops::delete_process) (struct arch_process_info *info)

Definition at line 194 of file linux-low.h.

Referenced by linux_mourn().

## ◆ delete_thread

void(* linux_target_ops::delete_thread) (struct arch_lwp_info *)

Definition at line 203 of file linux-low.h.

Referenced by delete_lwp().

## ◆ emit_ops

struct emit_ops*(* linux_target_ops::emit_ops) (void)

Definition at line 238 of file linux-low.h.

Referenced by linux_emit_ops().

## ◆ fetch_register

int(* linux_target_ops::fetch_register) (struct regcache *regcache, int regno)

Definition at line 146 of file linux-low.h.

Referenced by linux_fetch_registers().

## ◆ get_ipa_tdesc_idx

int(* linux_target_ops::get_ipa_tdesc_idx) (void)

Definition at line 258 of file linux-low.h.

Referenced by linux_get_ipa_tdesc_idx().

## ◆ get_min_fast_tracepoint_insn_len

int(* linux_target_ops::get_min_fast_tracepoint_insn_len) (void)

Definition at line 242 of file linux-low.h.

Referenced by linux_get_min_fast_tracepoint_insn_len().

## ◆ get_next_pcs

std::vector<CORE_ADDR>(* linux_target_ops::get_next_pcs) (struct regcache *regcache)

Definition at line 158 of file linux-low.h.

Referenced by can_software_single_step(), and install_software_single_step_breakpoints().

## ◆ get_pc

CORE_ADDR(* linux_target_ops::get_pc) (struct regcache *regcache)

Definition at line 148 of file linux-low.h.

Referenced by get_pc(), linux_read_pc(), linux_resume_one_lwp_throw(), save_stop_reason(), and supports_breakpoints().

## ◆ get_syscall_trapinfo

void(* linux_target_ops::get_syscall_trapinfo) (struct regcache *regcache, int *sysno)

Definition at line 255 of file linux-low.h.

Referenced by get_syscall_trapinfo(), and linux_supports_catch_syscall().

## ◆ get_thread_area

int(* linux_target_ops::get_thread_area) (int lwpid, CORE_ADDR *addrp)

Definition at line 219 of file linux-low.h.

Referenced by linux_fast_tracepoint_collecting().

## ◆ insert_point

int(* linux_target_ops::insert_point) (enum raw_bkpt_type type, CORE_ADDR addr, int size, struct raw_breakpoint *bp)

Definition at line 166 of file linux-low.h.

Referenced by linux_insert_point(), and win32_insert_point().

## ◆ install_fast_tracepoint_jump_pad

int(* linux_target_ops::install_fast_tracepoint_jump_pad) (CORE_ADDR tpoint, CORE_ADDR tpaddr, CORE_ADDR collector, CORE_ADDR lockaddr, ULONGEST orig_size, CORE_ADDR *jump_entry, CORE_ADDR *trampoline, ULONGEST *trampoline_size, unsigned char *jjump_pad_insn, ULONGEST *jjump_pad_insn_size, CORE_ADDR *adjusted_insn_addr, CORE_ADDR *adjusted_insn_addr_end, char *err)

Definition at line 223 of file linux-low.h.

Referenced by linux_install_fast_tracepoint_jump_pad(), and supports_fast_tracepoints().

## ◆ new_fork

void(* linux_target_ops::new_fork) (struct process_info *parent, struct process_info *child)

Definition at line 206 of file linux-low.h.

Referenced by handle_extended_wait().

## ◆ new_process

struct arch_process_info*(* linux_target_ops::new_process) (void)

Definition at line 190 of file linux-low.h.

Referenced by linux_add_process().

## ◆ new_thread

void(* linux_target_ops::new_thread) (struct lwp_info *)

Definition at line 199 of file linux-low.h.

Referenced by add_lwp().

## ◆ prepare_to_resume

void(* linux_target_ops::prepare_to_resume) (struct lwp_info *)

Definition at line 209 of file linux-low.h.

Referenced by linux_detach_one_lwp(), linux_resume_one_lwp_throw(), and win32_prepare_to_resume().

## ◆ process_qsupported

void(* linux_target_ops::process_qsupported) (char **, int count)

Definition at line 212 of file linux-low.h.

Referenced by linux_process_qsupported().

## ◆ regs_info

const struct regs_info*(* linux_target_ops::regs_info) (void)

Definition at line 133 of file linux-low.h.

Referenced by get_usrregs_info(), linux_fetch_registers(), linux_store_registers(), s390_collect_ptrace_register(), s390_fill_gregset(), and s390_supply_ptrace_register().

## ◆ remove_point

int(* linux_target_ops::remove_point) (enum raw_bkpt_type type, CORE_ADDR addr, int size, struct raw_breakpoint *bp)

Definition at line 168 of file linux-low.h.

Referenced by linux_remove_point(), and win32_remove_point().

## ◆ set_pc

void(* linux_target_ops::set_pc) (struct regcache *regcache, CORE_ADDR newpc)

Definition at line 149 of file linux-low.h.

Referenced by linux_wait_1(), linux_write_pc(), maybe_move_out_of_jump_pad(), and save_stop_reason().

## ◆ siginfo_fixup

int(* linux_target_ops::siginfo_fixup) (siginfo_t *native, gdb_byte *inf, int direction)

Definition at line 185 of file linux-low.h.

Referenced by siginfo_fixup().

## ◆ stopped_by_watchpoint

int(* linux_target_ops::stopped_by_watchpoint) (void)

Definition at line 171 of file linux-low.h.

Referenced by check_stopped_by_watchpoint(), and win32_stopped_by_watchpoint().

## ◆ stopped_data_address

CORE_ADDR(* linux_target_ops::stopped_data_address) (void)

Definition at line 172 of file linux-low.h.

Referenced by check_stopped_by_watchpoint(), and win32_stopped_data_address().

## ◆ supply_ptrace_register

void(* linux_target_ops::supply_ptrace_register) (struct regcache *regcache, int regno, const char *buf)

Definition at line 178 of file linux-low.h.

## ◆ supports_hardware_single_step

int(* linux_target_ops::supports_hardware_single_step) (void)

Definition at line 251 of file linux-low.h.

Referenced by can_hardware_single_step().

## ◆ supports_range_stepping

int(* linux_target_ops::supports_range_stepping) (void)

Definition at line 245 of file linux-low.h.

Referenced by linux_supports_range_stepping().

## ◆ supports_tracepoints

int(* linux_target_ops::supports_tracepoints) (void)

Definition at line 215 of file linux-low.h.

Referenced by linux_supports_tracepoints().

## ◆ supports_z_point_type

int(* linux_target_ops::supports_z_point_type) (char z_type)

Definition at line 165 of file linux-low.h.

Referenced by linux_supports_z_point_type(), and win32_supports_z_point_type().

## ◆ sw_breakpoint_from_kind

const gdb_byte*(* linux_target_ops::sw_breakpoint_from_kind) (int kind, int *size)

Definition at line 155 of file linux-low.h.

Referenced by linux_sw_breakpoint_from_kind().

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

- /tmp/gdb-8.1/gdb/gdbserver/linux-low.h