GdbMiSession.signalHandle

MiPendingCommand signalHandle(string signal, string[] actions) @trusted

Configures signal handling.

Parameters

signalSignal name (e.g. "SIGINT", "SIGSEGV", "all").
actionsActions (e.g. "stop", "nostop", "print", "noprint", "pass", "nopass").

Returns

A pending command for -interpreter-exec console "handle ...".

Example:

session.signalHandle("SIGINT", ["nostop", "print"]);