Fix argv[] in programs invoked by gdbserver on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Fri, 14 Feb 2020 09:53:55 +0000 (11:53 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 14 Feb 2020 09:53:55 +0000 (11:53 +0200)
commita9b34532453a065991b32f15055adf76fa86ff8c
treedb1abd4fe77955dcb4ec045acf8dae6335b25011
parent258bf0ee3748d4354e13daf00f02266cafa96389
Fix argv[] in programs invoked by gdbserver on MS-Windows

gdbserver/ChangeLog
2020-02-14  Eli Zaretskii  <eliz@gnu.org>

* win32-low.c (create_process): Prepend PROGRAM to ARGS when
preparing the command line for CreateProcess.
(win32_create_inferior): Reflect the program name in debugging
output that shows the process and its command line.
gdbserver/ChangeLog
gdbserver/win32-low.cc