gdbserver:

  • =g port file [args] listen on 'port' debugging 'file' using gdbserver
  • =g! port file [args] same as above, but debug protocol messages (like gdbserver —remote-debug)