gdb_remote: add remote exec arguments and --ssh support for VM

Added new option to specify command line arguments for remote executable
to be debugged. Also added VM_PORT when invoking gdb server in ssh mode
so --ssh option would work with VM.

TEST=gdb_remote --remote=localhost --ssh --remote_file=/bin/ls \
 --remote_args=-al

Change-Id: Id0d83247664e4a3f87da1af014cf171f209e2704
Signed-off-by: Dominik Behr <dbehr@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/171446
1 file changed