[RFC] Environment variables passed to inferior for Cygwin build ( follow up on mingw fix for PR 10989)
Corinna Vinschen
vinschen@redhat.com
Tue Oct 4 11:16:00 GMT 2011
On Oct 4 06:40, Eli Zaretskii wrote:
> To comment on the part of what you say that I do understand: using
> SetEnvironmentVariable in this case is not TRT, because that changes
> the environment of GDB itself. By contrast, "set environment" and
> "unset environment" commands are supposed to affect only the
> environment of the inferior, without any effect on GDB itself. That
> is why I didn't use SetEnvironmentVariable in my patch.
Duh, you're right. Maybe my proposal to create the UNICODE environment
in a static function and use that in both code paths as in
http://sourceware.org/ml/gdb-patches/2011-10/msg00071.html
is acceptable?
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat
More information about the Gdb-patches
mailing list