diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2022-06-12 16:36:58 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2022-06-12 17:01:32 +0100 |
commit | 9dad432e10a94f63fc6b17d729c9cf8726e03dab (patch) | |
tree | 8765446ee390d7eb21eebc52e2881530ca7e7d11 | |
parent | 09d5a3fffce3709b5b66e57cdac5ea2cfc9859ee (diff) | |
download | gdb-9dad432e10a94f63fc6b17d729c9cf8726e03dab.zip gdb-9dad432e10a94f63fc6b17d729c9cf8726e03dab.tar.gz gdb-9dad432e10a94f63fc6b17d729c9cf8726e03dab.tar.bz2 |
Trivial fixes to Cygwin build after 8fea1a81
* Remove a stray semicolon
* Restore dropped nullptr program argument in use of create_process() under CYGWIN
-rw-r--r-- | gdb/nat/windows-nat.c | 2 | ||||
-rw-r--r-- | 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 5bd561a..ea6e298 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, flags, environment, cur_dir, no_randomization, diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index e156a86..9705fa3 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -2478,7 +2478,7 @@ windows_nat_target::create_inferior (const char *exec_file, } windows_init_thread_list (); - ret = create_process (args, flags, w32_env, + ret = create_process (nullptr, args, flags, w32_env, inferior_cwd != nullptr ? infcwd : nullptr, disable_randomization, &si, &pi); |