From owner-freebsd-questions@FreeBSD.ORG Thu Jun 23 08:01:35 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EFDB16A41C for ; Thu, 23 Jun 2005 08:01:35 +0000 (GMT) (envelope-from mats.lindberg@se.transport.bombardier.com) Received: from smtp2.transport.bombardier.com (smtp2.transport.bombardier.com [20.133.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9E2D43D1F for ; Thu, 23 Jun 2005 08:01:34 +0000 (GMT) (envelope-from mats.lindberg@se.transport.bombardier.com) Received: from EMEAML02.UK.BOMBARDIER.TRANSPORT.COM (emea-ml02.atle.bombardier.com [10.157.248.22]) by smtp2.transport.bombardier.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j5N81IEd017832; Thu, 23 Jun 2005 10:01:30 +0200 (CEST) In-Reply-To: <20050622161636.GA11708@orion.daedalusnetworks.priv> To: Giorgos Keramidas X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: From: mats.lindberg@se.transport.bombardier.com Date: Thu, 23 Jun 2005 07:48:52 +0200 X-MIMETrack: Serialize by Router on EMEA-ML02/Server/Transport/Bombardier(Release 6.0.3|September 18, 2003) at 06/23/2005 09:03:42 MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: base64 Cc: freebsd-questions@freebsd.org Subject: Re: Generating coredump's from within a signal handler. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2005 08:01:35 -0000 DQoNCg0KDQoNCg0KR2lvcmdvcyBLZXJhbWlkYXMgPGtlcmFtaWRhQGNlaWQudXBhdHJhcy5ncj4g d3JvdGUgb24gMjAwNS0wNi0yMiAxODoxNjozNzoNCg0KPiBPb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CBsZQ0KZGlzdHJpYnVlciBvdSBsZSByZXByb2R1aXJlLiBTaSB2b3VzIGzi gJlhdmV6IHJlw6d1IHBhciBpbmFkdmVydGFuY2UsIHZldWlsbGV6DQpub3VzIGVuIGF2aXNlciBl dCBkw6l0cnVpcmUgY2UgbWVzc2FnZS4NCk1lcmNpLg0KX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCg0K