X-Recipient: archive-cygwin@delorie.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 <gchicares@sbcglobal.net>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: MS or cygwin dll debug tools/ was  "sys/sockio.h" etc.
References: <17275355.post@talk.nabble.com> <17290164.post@talk.nabble.com>    <4830F08D.6040505@cygwin.com> <17345729.post@talk.nabble.com>    <4833813A.7B6F7FAF@dessent.net> <17405074.post@talk.nabble.com>    <483583EE.8030605@cygwin.com>  <BLU113-W4491CD4A8C42B16C2A9FB9BEC60@phx.gbl>    <00e501c8bc1e$a44d0190$2708a8c0@CAM.ARTIMI.COM>    <BLU113-W102F782BB5AAB04B62F71BBEC60@phx.gbl>    <20080523000735.GA23793@ednor.casa.cgf.cx>   <BLU113-W20BC0AE5970EA19F944347BEC20@phx.gbl>  <483BBE3D.EDF663D3@dessent.net> <BLU113-W146D9A038F045D262DEF5CBEBD0@phx.gbl> <BLU113-W34F5DCFDEEB319379AAAD4BEBC0@phx.gbl>
In-Reply-To: <BLU113-W34F5DCFDEEB319379AAAD4BEBC0@phx.gbl>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

