On the target
Make sure pdebug is running and listening on port 8000On the host
Start the gdbntoarm-gdbConnect to the target
target qnx remote-ip:8000List all the process running on the target
info pidlistAttach to a process (Use the above listing to find the pid of the required process)
attach pidDebug the process
info / step / continueKill the process
killDetach from the process
detach