'char **environ' woes with cygwin

Michael Elizabeth Chastain chastain@cygnus.com
Fri Aug 25 09:56:00 GMT 2000


> #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


More information about the Gdb mailing list