This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 'char **environ' woes with cygwin



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]