GDB (xrefs)
Loading...
Searching...
No Matches
Functions
mips-linux-watch.c File Reference
#include "gdbsupport/common-defs.h"
#include "nat/gdb_ptrace.h"
#include "mips-linux-watch.h"

Go to the source code of this file.

Functions

uint32_t mips_linux_watch_get_irw_mask (struct pt_watch_regs *regs, int n)
 
static uint32_t get_reg_mask (struct pt_watch_regs *regs, int n)
 
uint32_t mips_linux_watch_get_num_valid (struct pt_watch_regs *regs)
 
CORE_ADDR mips_linux_watch_get_watchlo (struct pt_watch_regs *regs, int n)
 
void mips_linux_watch_set_watchlo (struct pt_watch_regs *regs, int n, CORE_ADDR value)
 
uint32_t mips_linux_watch_get_watchhi (struct pt_watch_regs *regs, int n)
 
void mips_linux_watch_set_watchhi (struct pt_watch_regs *regs, int n, uint16_t value)
 
int mips_linux_read_watch_registers (long lwpid, struct pt_watch_regs *watch_readback, int *watch_readback_valid, int force)
 
uint32_t mips_linux_watch_type_to_irw (enum target_hw_bp_type type)
 
static CORE_ADDR fill_mask (CORE_ADDR mask)
 
int mips_linux_watch_try_one_watch (struct pt_watch_regs *regs, CORE_ADDR addr, int len, uint32_t irw)
 
void mips_linux_watch_populate_regs (struct mips_watchpoint *current_watches, struct pt_watch_regs *regs)
 

Function Documentation

◆ fill_mask()

static CORE_ADDR fill_mask ( CORE_ADDR mask)
static

Definition at line 212 of file mips-linux-watch.c.

References f().

Referenced by mips_linux_watch_try_one_watch().

◆ get_reg_mask()

static uint32_t get_reg_mask ( struct pt_watch_regs * regs,
int n )
static

◆ mips_linux_read_watch_registers()

int mips_linux_read_watch_registers ( long lwpid,
struct pt_watch_regs * watch_readback,
int * watch_readback_valid,
int force )

◆ mips_linux_watch_get_irw_mask()

uint32_t mips_linux_watch_get_irw_mask ( struct pt_watch_regs * regs,
int n )

◆ mips_linux_watch_get_num_valid()

uint32_t mips_linux_watch_get_num_valid ( struct pt_watch_regs * regs)

◆ mips_linux_watch_get_watchhi()

uint32_t mips_linux_watch_get_watchhi ( struct pt_watch_regs * regs,
int n )

◆ mips_linux_watch_get_watchlo()

CORE_ADDR mips_linux_watch_get_watchlo ( struct pt_watch_regs * regs,
int n )

◆ mips_linux_watch_populate_regs()

void mips_linux_watch_populate_regs ( struct mips_watchpoint * current_watches,
struct pt_watch_regs * regs )

◆ mips_linux_watch_set_watchhi()

void mips_linux_watch_set_watchhi ( struct pt_watch_regs * regs,
int n,
uint16_t value )

◆ mips_linux_watch_set_watchlo()

void mips_linux_watch_set_watchlo ( struct pt_watch_regs * regs,
int n,
CORE_ADDR value )

◆ mips_linux_watch_try_one_watch()

int mips_linux_watch_try_one_watch ( struct pt_watch_regs * regs,
CORE_ADDR addr,
int len,
uint32_t irw )

◆ mips_linux_watch_type_to_irw()

uint32_t mips_linux_watch_type_to_irw ( enum target_hw_bp_type type)

Definition at line 194 of file mips-linux-watch.c.

References R_MASK, and W_MASK.

Referenced by mips_linux_nat_target::insert_watchpoint(), and mips_linux_watch_populate_regs().