241cf91ddc
Add new ptrace(2) calls: - PT_COUNT_WATCHPOINTS - count the number of available hardware watchpoints - PT_READ_WATCHPOINT - read struct ptrace_watchpoint from the kernel state - PT_WRITE_WATCHPOINT - write new struct ptrace_watchpoint state, this includes enabling and disabling watchpoints The ptrace_watchpoint structure contains MI and MD parts: typedef struct ptrace_watchpoint { int pw_index; /* HW Watchpoint ID (count from 0) */ lwpid_t pw_lwpid; /* LWP described */ struct mdpw pw_md; /* MD fields */ } ptrace_watchpoint_t; For example amd64 defines MD as follows: struct mdpw { void *md_address; int md_condition; int md_length; }; These calls are protected with the __HAVE_PTRACE_WATCHPOINTS guard. Tested on amd64, initial support added for i386 and XEN. Sponsored by <The NetBSD Foundation> |
||
---|---|---|
.. | ||
acpi_machdep.h | ||
ansi.h | ||
aout_machdep.h | ||
apicvar.h | ||
apmvar.h | ||
asm.h | ||
autoconf.h | ||
bios32.h | ||
bioscall.h | ||
bootinfo.h | ||
bswap.h | ||
bus_defs.h | ||
bus_funcs.h | ||
bus_private.h | ||
byte_swap.h | ||
cdefs.h | ||
clock.h | ||
coff_machdep.h | ||
cpu_counter.h | ||
cpu_rng.h | ||
cpu.h | ||
cpufunc.h | ||
cputypes.h | ||
cpuvar.h | ||
db_machdep.h | ||
disklabel.h | ||
eisa_machdep.h | ||
elf_machdep.h | ||
endian_machdep.h | ||
endian.h | ||
fenv.h | ||
float.h | ||
frame.h | ||
frameasm.h | ||
freebsd_machdep.h | ||
gdt.h | ||
i8259.h | ||
i82093reg.h | ||
i82093var.h | ||
i82489reg.h | ||
i82489var.h | ||
ibcs2_machdep.h | ||
ieee.h | ||
ieeefp.h | ||
int_const.h | ||
int_fmtio.h | ||
int_limits.h | ||
int_mwgwtypes.h | ||
int_types.h | ||
intr.h | ||
intrdefs.h | ||
ipkdb.h | ||
isa_machdep.h | ||
isapnp_machdep.h | ||
joystick.h | ||
kcore.h | ||
limits.h | ||
loadfile_machdep.h | ||
lock.h | ||
mach_machdep.h | ||
Makefile | ||
Makefile.inc | ||
math.h | ||
mca_machdep.h | ||
mcontext.h | ||
mpacpi.h | ||
mpbiosreg.h | ||
mpbiosvar.h | ||
mpconfig.h | ||
mtrr.h | ||
multiboot.h | ||
mutex.h | ||
param.h | ||
pcb.h | ||
pci_machdep.h | ||
pic.h | ||
pio.h | ||
pmap.h | ||
pmc.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
pte.h | ||
ptrace.h | ||
rbus_machdep.h | ||
reg.h | ||
return.h | ||
rwlock.h | ||
segments.h | ||
setjmp.h | ||
signal.h | ||
sljit_machdep.h | ||
specialreg.h | ||
spkr.h | ||
svr4_machdep.h | ||
sysarch.h | ||
tlog.h | ||
trap.h | ||
tss.h | ||
types.h | ||
userret.h | ||
vm86.h | ||
vmparam.h | ||
wchar_limits.h |