GDB (API)
Functions
/home/stan/gdb/src/gdb/common/mips-linux-watch.c File Reference
#include <sys/ptrace.h>
#include "mips-linux-watch.h"
#include "gdb_assert.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)
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 (int type)
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

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

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

uint32_t mips_linux_watch_get_irw_mask ( struct pt_watch_regs *  regs,
int  n 
)

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

uint32_t mips_linux_watch_get_num_valid ( struct pt_watch_regs *  regs)

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

uint32_t mips_linux_watch_get_watchhi ( struct pt_watch_regs *  regs,
int  n 
)

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

CORE_ADDR mips_linux_watch_get_watchlo ( struct pt_watch_regs *  regs,
int  n 
)

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

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

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

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

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

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

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

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

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

uint32_t mips_linux_watch_type_to_irw ( int  type)

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines