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 17:11:16 +0400 From: egor duda X-Mailer: The Bat! (v1.53 RC/4) Reply-To: egor duda Organization: deo X-Priority: 3 (Normal) Message-ID: <0147635148.20010908171116@logos-m.ru> To: Christopher Faylor Subject: Re: Cygwin 1.3.3, dumper.exe, question In-Reply-To: <20010906214242.A24962@redhat.com> References: <20010906214242 DOT A24962 AT redhat DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. CF> Egor? I have a feeling this has been discussed before. I should probably CF> check the archives but that would set a bad precedent... no, i don't remember it's being discussed :) Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19