This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: 'char **environ' woes with cygwin
- To: dj at delorie dot com, gdb at sourceware dot cygnus dot com
- Subject: Re: 'char **environ' woes with cygwin
- From: Michael Elizabeth Chastain <chastain at cygnus dot com>
- Date: Fri, 25 Aug 2000 09:58:09 -0700
> #define environ (*(__get_environ()))
> -or-
> extern __declspec(dllimport) char **environ;
The "#define environ" macro is going to yield interesting results
when various places call "&environ". Then again, maybe none of those
places are part of gdb on Cygwin.
Michael