GdbMiSession.targetAttach

MiPendingCommand targetAttach(int pid) @trusted

Attaches to a running process.

Parameters

pidProcess ID.

Returns

A pending command for -target-attach.

Example:

session.targetAttach(1234);