GDB: Remote target can now accept the form unix::/path/to/socket.
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 13 Oct 2018 16:12:01 +0000 (18:12 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 23 Oct 2018 14:09:34 +0000 (16:09 +0200)
commit88f5cc8cf8606478832c7d0d7b74755f3f625015
tree5992356e148c9913017faeaf56504692f730579d
parent0a163825df5e98ad55de13eb3d3534d875943047
GDB: Remote target can now accept the form unix::/path/to/socket.

Allow target remote to use the unix::/path/to/socket syntax as well as just
plain /path/to/socket

gdb/

  * ser-uds.c (uds_open): Use parse_connection_spec to deal with the
    comm form unix::/path/to/socket.

  * serial.c (serial_open): Consider the "unix:" prefix when deciding which
    interface to use.
gdb/ser-uds.c
gdb/serial.c