From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18497 invoked by alias); 23 Jun 2008 18:32:05 -0000 Received: (qmail 18487 invoked by uid 22791); 23 Jun 2008 18:32:04 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 23 Jun 2008 18:31:47 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id 5E5963C41C; Mon, 23 Jun 2008 11:31:45 -0700 (PDT) Subject: Re: How to catch GDB crash From: Michael Snyder To: Eli Zaretskii Cc: divis1969@mail.ru, gdb@sourceware.org In-Reply-To: References: <1214241124.3601.1180.camel@localhost.localdomain> Content-Type: text/plain Date: Mon, 23 Jun 2008 18:32:00 -0000 Message-Id: <1214245905.3601.1187.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-7.fc7) Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00222.txt.bz2 On Mon, 2008-06-23 at 21:23 +0300, Eli Zaretskii wrote: > > From: Michael Snyder > > Cc: gdb@sourceware.org > > Date: Mon, 23 Jun 2008 10:12:04 -0700 > > > > You're running on a Windows host, right? Doesn't Windows have > > some mechanism for automatically catching a program that is > > crashing, and holding it for the debugger? > > That's true, but you need special code in the debugger to be able to > work like that (it's called JIT debugging, btw). And GDB doesn't > (yet) have such code. My failing memory. Didn't I publish a patch for glibc about a year ago that would allow that? I'm going to hate myself if I never posted it...