This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] win32-nat.c: Simplify generation of Windows environment
- From: Eli Zaretskii <eliz at gnu dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 07 Dec 2006 23:37:02 +0200
- Subject: Re: [RFA] win32-nat.c: Simplify generation of Windows environment
- References: <20061207095839.GA14487@calimero.vinschen.de>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 7 Dec 2006 10:58:39 +0100
> From: Corinna Vinschen <vinschen@redhat.com>
>
> the below patch simplifies the code which translates the Cygwin
> environment into the native Windows environment. So far this is
> done in GDB manually. However, there's a Cygwin specific function
> call which does the same for the calling process. Using this call
> has three advantages.
Is win32-nat.c used only for the Cygwin build? I thought the native
Windows build used it as well (perhaps with a few patches that are not
yet part of the CVS), but maybe I was mistaken.
If I am right, then please make this change, and especially the call
to cygwin_internal, conditioned on __CYGWIN__, or some other
Cygwin-specific symbol.