From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id 94D7A3856DF5; Sun, 12 Jun 2022 16:08:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 94D7A3856DF5 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Jon TURNEY To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Trivial fixes to Cygwin build after 8fea1a81 X-Act-Checkin: binutils-gdb X-Git-Author: Jon Turney X-Git-Refname: refs/heads/master X-Git-Oldrev: 09d5a3fffce3709b5b66e57cdac5ea2cfc9859ee X-Git-Newrev: 9dad432e10a94f63fc6b17d729c9cf8726e03dab Message-Id: <20220612160806.94D7A3856DF5@sourceware.org> Date: Sun, 12 Jun 2022 16:08:06 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2022 16:08:06 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D9dad432e10a9= 4f63fc6b17d729c9cf8726e03dab commit 9dad432e10a94f63fc6b17d729c9cf8726e03dab Author: Jon Turney Date: Sun Jun 12 16:36:58 2022 +0100 Trivial fixes to Cygwin build after 8fea1a81 =20 * Remove a stray semicolon * Restore dropped nullptr program argument in use of create_process() u= nder CYGWIN Diff: --- gdb/nat/windows-nat.c | 2 +- gdb/windows-nat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/nat/windows-nat.c b/gdb/nat/windows-nat.c index 5bd561ae63f..ea6e2980f59 100644 --- a/gdb/nat/windows-nat.c +++ b/gdb/nat/windows-nat.c @@ -877,7 +877,7 @@ create_process (const wchar_t *image, wchar_t *command_= line, DWORD flags, void *environment, const wchar_t *cur_dir, bool no_randomization, STARTUPINFOW *startup_info, - PROCESS_INFORMATION *process_info); + PROCESS_INFORMATION *process_info) { return create_process_wrapper (CreateProcessW, image, command_line, flag= s, environment, cur_dir, no_randomization, diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index e156a867c05..9705fa33cc2 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -2478,7 +2478,7 @@ windows_nat_target::create_inferior (const char *exec= _file, } =20 windows_init_thread_list (); - ret =3D create_process (args, flags, w32_env, + ret =3D create_process (nullptr, args, flags, w32_env, inferior_cwd !=3D nullptr ? infcwd : nullptr, disable_randomization, &si, &pi);