When debugging on remote target by using gdbserver, at client normally I do
$ gdb <enter>
(gdb) target remote <IP>:<PORT>
Is there an option for gdb that I can do this by giving gdb a proper argument?
Just something like: gdb -ex "target remote ..."