Tutorial: Debugging with Intel® Distribution for GDB*

Auto-Attach

The Auto-Attach feature enables listening to debug events from the GPU.

This feature allows the debugger launches a gdbserver-gt process to listen to GPU debug events and adds the gdbserver-gt target to the debugger as an inferior. This feature is designed to improve your debugging experience.

To trigger auto-attach, unset the INTELGT_AUTO_ATTACH_DISABLE if it has been set before:

unset INTELGT_AUTO_ATTACH_DISABLE