From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16958 invoked by alias); 30 Jun 2007 15:49:42 -0000 Received: (qmail 16950 invoked by uid 22791); 30 Jun 2007 15:49:42 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 30 Jun 2007 15:49:36 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 87C29982A4; Sat, 30 Jun 2007 15:49:35 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 553C1982A3; Sat, 30 Jun 2007 15:49:35 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I4fC4-0001YI-VL; Sat, 30 Jun 2007 11:49:04 -0400 Date: Sat, 30 Jun 2007 15:49:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: msnyder@sonic.net, gdb@sourceware.org Subject: Re: libSegFault and just in time debugging Message-ID: <20070630154904.GA5952@caradoc.them.org> Mail-Followup-To: Eli Zaretskii , msnyder@sonic.net, gdb@sourceware.org References: <003c01c7ba81$2abc9ce0$677ba8c0@sonic.net> <20070629191522.GA2715@caradoc.them.org> <000501c7ba87$0e543760$677ba8c0@sonic.net> <20070629200000.GA6453@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-06/txt/msg00357.txt.bz2 On Sat, Jun 30, 2007 at 01:52:35PM +0300, Eli Zaretskii wrote: > > Date: Fri, 29 Jun 2007 16:00:00 -0400 > > From: Daniel Jacobowitz > > Cc: gdb@sourceware.org > > > > FYI, cygwin already does this, too; it can invoke dumper (to generate core > > dumps) or GDB. > > By Cygwin does this using a Windows-specific technique, doesn't it? Sure. But LD_PRELOAD is a Unix-specific technique. I don't think there's any way around it - when you want to deal with program crashes and exceptions, you do something at least a bit platform specific. -- Daniel Jacobowitz CodeSourcery