X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-YMail-OSG: Jxf5oPQVM1noTObbTAS4foaxG5XPvnCYg9KKzl9Duc7hiXaiKEu0T9ijVsu9X9HRFqm.bljFCYweVqk8EOkh_uYub_qbuzTqBEUGI0yjVA-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <483D7849.5010505@sbcglobal.net> Date: Wed, 28 May 2008 15:20:41 +0000 From: Greg Chicares User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: MS or cygwin dll debug tools/ was "sys/sockio.h" etc. References: <17275355 DOT post AT talk DOT nabble DOT com> <17290164 DOT post AT talk DOT nabble DOT com> <4830F08D DOT 6040505 AT cygwin DOT com> <17345729 DOT post AT talk DOT nabble DOT com> <4833813A DOT 7B6F7FAF AT dessent DOT net> <17405074 DOT post AT talk DOT nabble DOT com> <483583EE DOT 8030605 AT cygwin DOT com> <00e501c8bc1e$a44d0190$2708a8c0 AT CAM DOT ARTIMI DOT COM> <20080523000735 DOT GA23793 AT ednor DOT casa DOT cgf DOT cx> <483BBE3D DOT EDF663D3 AT dessent DOT net> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/