This is the mail archive of the
mailing list for the Cygwin project.
Re: MS or cygwin dll debug tools/ was "sys/sockio.h" etc.
Greg Chicares wrote:
> Using cygwin's gdb on a MinGW app, I can set this breakpoint
> b '__mingw_CRTStartup'
> on the function that invokes main(), and then examine variables
> before main() is invoked. For a Cygwin app, I guess you'd break
> on 'mainCRTStartup'. Does that breakpoint happen early enough to
> meet your needs?
You can also do "info target" to display the entry point and then set a
breakpoint on it as e.g. "b *0x401000" if you want to start at the very
first instruction of the binary. There is no such "can't debug before
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html