]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix target remote pipe command for MinGW
authorJonas Hoerberg <JHorberg@danfoss.com>
Thu, 22 Dec 2022 15:22:17 +0000 (15:22 +0000)
committerTom Tromey <tromey@adacore.com>
Mon, 2 Jan 2023 15:11:07 +0000 (08:11 -0700)
commit08bdba1418053b34ba641f84d1215f17424e2c3d
treee3da270dee37595a43979e693817b1b22136abab
parent33214e7a6d5d3f5563fbe7cdac5736a7a3222bf8
Fix target remote pipe command for MinGW

The cced7cacecad104fff0 ("gdb: preserve `|` in connection details string")
commit added '|' detection and removal to ser-pipe.c, but missed to add it
to ser-mingw.c.

This results in the error message below for MinGW hosts:
error starting child process '| <executable> <args>': CreateProcess: No such file or directory

This commit add the missing '|' detection and removal to ser-mingw.c.

(cherry picked from commit c43d829bca5e45c5e6c0255a549abc5766f6de7f)
gdb/ser-mingw.c