1 PDELBKPT(3PROC) Process Control Library Functions PDELBKPT(3PROC)
2
3 NAME
4 Pdelbkpt - clear a breakpoint in a process
5
6 SYNOPSIS
7 Process Control Library (libproc, -lproc)
8 #include <libproc.h>
9
10 int
11 Pdelbkpt(struct ps_prochandle *P, uintptr_t address, ulong_t saved);
12
13 DESCRIPTION
14 The Pdelbkpt() function removes the breakpoint installed at address from
15 process P. Restoring the instruction present in saved.
16
17 If the instruction at address is no longer the architecture-specific
18 breakpoint instruction, then saved is not restored, but the function
19 still returns successfully. This behavior is done due to the presence of
20 setting breakpoints in self-modifying code, e.g. procedure linkage
21 tables.
22
23 The Pdelbkpt() function only works on running processes, such as those
24 created through Pgrab(3PROC) and Pcreate(3PROC). Attempting to remove a
25 breakpoint from process handles to core files, zombie processes, or ELF
26 objects will fail.
27
|
1 PDELBKPT(3PROC) Process Control Library Functions PDELBKPT(3PROC)
2
3 NAME
4 Pdelbkpt - clear a breakpoint in a process
5
6 LIBRARY
7 Process Control Library (libproc, -lproc)
8
9 SYNOPSIS
10 #include <libproc.h>
11
12 int
13 Pdelbkpt(struct ps_prochandle *P, uintptr_t address, ulong_t saved);
14
15 DESCRIPTION
16 The Pdelbkpt() function removes the breakpoint installed at address from
17 process P. Restoring the instruction present in saved.
18
19 If the instruction at address is no longer the architecture-specific
20 breakpoint instruction, then saved is not restored, but the function
21 still returns successfully. This behavior is done due to the presence of
22 setting breakpoints in self-modifying code, e.g. procedure linkage
23 tables.
24
25 The Pdelbkpt() function only works on running processes, such as those
26 created through Pgrab(3PROC) and Pcreate(3PROC). Attempting to remove a
27 breakpoint from process handles to core files, zombie processes, or ELF
28 objects will fail.
29
|