This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: 'char **environ' woes with cygwin
- To: chastain at cygnus dot com
- Subject: Re: 'char **environ' woes with cygwin
- From: DJ Delorie <dj at delorie dot com>
- Date: Fri, 25 Aug 2000 13:05:47 -0400
- CC: gdb at sourceware dot cygnus dot com
- References: <200008251658.JAA07299@train2.cygnus.com>
> > #define environ (*(__get_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.
I just tested it, and it works fine.