|PDELBKPT(3PROC)||Process Control Library Functions||PDELBKPT(3PROC)|
*P, uintptr_t address, ulong_t
Pdelbkpt() function removes the breakpoint installed at address from process P. Restoring the instruction present in saved.
If the instruction at address is no longer the architecture-specific breakpoint instruction, then saved is not restored, but the function still returns successfully. This behavior is done due to the presence of setting breakpoints in self-modifying code, e.g. procedure linkage tables.
Pdelbkpt() function only works on
running processes, such as those created through
Pcreate(3PROC). Attempting to
remove a breakpoint from process handles to core files, zombie processes, or
ELF objects will fail.
Pdelbkpt() function removes the breakpoint and returns 0. Otherwise, -1 is returned, and errno is set to indicate the error.
Pdelbkpt() function will fail
|May 11, 2016||OmniOS|