This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: MS or cygwin dll debug tools/ was "sys/sockio.h" etc.
On 2008-05-28 14:15Z, Mike Marchywka wrote:
>
> I was curious to know if anyone has used these ( free? ) MS tools
Probably not free as in freedom; I haven't used them.
> Apparently gdb didn't let you do anything until getting to main() which is after the initial
> process loads but some of the pages for the above tools suggest you can examine loading.
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?
--
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/