delorie.com/archives/browse.cgi | search |
On Thu, Jun 05, 2003 at 02:25:56PM -0500, Pete McCann wrote: >int __stdcall stat_worker (const char *name, struct __stat64 *buf, int nofollow, > path_conv *pc = NULL) __attribute__ ((regparm (3))); > >So, nofollow and pc should have both been 0 coming in (although I see >pc getting reset to &real_path). Is this a case of stack corruption >somewhere? Maybe. Do you see the same thing with non-failing cases, though. >Some bad interaction with the regparm() attribute? Unlikely. >Could the debugger be getting confused? Very likely. Are you building cygwin with just '-g' and not with '-O2 -g'? Adding optimization can certainly cause confusion. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |