kill

Kill execution of program being debugged.

kill [inferiors ID [ID ...]]

  • ID – The ID of an inferior to kill.

The list of killable IDs can be retrieved using “info inferiors”

If “inferiors” is specified, at least one ID must be provided. If “inferiors” is not specified, the current inferios program is killed.