Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Sat, 8 Sep 2001 13:05:12 -0400 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Re: Cygwin 1.3.3, dumper.exe, question Message-ID: <20010908130512.B12339@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com References: <20010906214242 DOT A24962 AT redhat DOT com> <0147635148 DOT 20010908171116 AT logos-m DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0147635148.20010908171116@logos-m.ru> User-Agent: Mutt/1.3.21i On Sat, Sep 08, 2001 at 05:11:16PM +0400, egor duda wrote: >Hi! > >Friday, 07 September, 2001 Christopher Faylor cgf AT redhat DOT com wrote: > >CF> I'm going to be including dumper.exe with the next version of cygwin. >CF> I've been meaning to do this for a long time and I keep forgetting. > >CF> I'm going to mention this in the release notes: > >CF> - dumper.exe now comes with cygwin releases by default. With dumper.exe >CF> you can actually have linux produce linux-style core dumps. To use, > >CF> set CYGWIN=error_start=c:/cygwin/bin/dumper.cmd > >CF> Then if you cygwin application enters into a state where a core dump >CF> would be produced under linux (e.g., SIGSEGV, SIGBUS, etc.) dumper.exe >CF> will be called to produce it. You can then use gdb to inspect the > >CF> Does this seem correct? I will include a dumper.cmd file which just >CF> has this in it: > >CF> dumper -c %1 %2 > >CF> However wouldn't it make sense for dumper to take the same arguments as >CF> gdb? If there are two arguments then the first is a filename and the >CF> second is a pid. > >CF> Then I wouldn't need to create a dumper.cmd file. > >i've got no objections to this. i've patched dumper sources in my >local tree to avoid the need to '-c', if nobody's against it, i'll >check it in. Go ahead. I think this make sense. It's your program so you get to decide on these things... cgf