|PSETBKPT(3PROC)||Process Control Library Functions||PSETBKPT(3PROC)|
Psetbkpt — set a
breakpoint trap in a process
Process Control Library (libproc, -lproc)
*P, uintptr_t address, ulong_t
function sets a breakpoint instruction at the address
address in the process handle P.
The instruction that used to be set will be set in
saved and should be retained.
When a process executes an instruction that has been replaced with a breakpoint it generates a FLTBPT trap causing the thread to stop.
Note, breakpoints may only be set in active processes. They may not be set in process handles that refer to core files, zombie processes, or files.
Psetbkpt() function will fail if:
|May 11, 2016||OmniOS|