Support "set environment" and "unset environment" in MinGW builds.
authorEli Zaretskii <eliz@gnu.org>
Wed, 28 Sep 2011 09:07:54 +0000 (09:07 +0000)
committerEli Zaretskii <eliz@gnu.org>
Wed, 28 Sep 2011 09:07:54 +0000 (09:07 +0000)
commitc93dbcba1610184a86722f2b547e19467c7635c8
tree9f8ebaca1dbe0b6976dd76bcded1f3fd292d6598
parenta82526dd007744ca9ccb07226c934d7d70ef93fb
Support "set environment" and "unset environment" in MinGW builds.

* windows-nat.c (env_sort) [!__CYGWIN__]: Function restored from
before the change on 2006-12-09.
(windows_create_inferior) [!__CYGWIN__]: Restore code that
generates the environment block for CreateProcessA, modulo the
Cygwin-specific parts that are not needed here.
gdb/ChangeLog
gdb/windows-nat.c