delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/09/06/21:42:38

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Thu, 6 Sep 2001 21:42:42 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Cygwin 1.3.3, dumper.exe, question
Message-ID: <20010906214242.A24962@redhat.com>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.3.21i

I'm going to be including dumper.exe with the next version of cygwin.
I've been meaning to do this for a long time and I keep forgetting.

I'm going to mention this in the release notes:

- dumper.exe now comes with cygwin releases by default.  With dumper.exe
  you can actually have linux produce linux-style core dumps.  To use,

      set CYGWIN=error_start=c:/cygwin/bin/dumper.cmd

  Then if you cygwin application enters into a state where a core dump
  would be produced under linux (e.g., SIGSEGV, SIGBUS, etc.) dumper.exe
  will be called to produce it.  You can then use gdb to inspect the

Does this seem correct?  I will include a dumper.cmd file which just
has this in it:

dumper -c %1 %2

However wouldn't it make sense for dumper to take the same arguments as
gdb?  If there are two arguments then the first is a filename and the
second is a pid.

Then I wouldn't need to create a dumper.cmd file.

Egor?  I have a feeling this has been discussed before.  I should probably
check the archives but that would set a bad precedent...

cgf

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019