From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1006 invoked by alias); 7 Mar 2011 16:53:11 -0000 Received: (qmail 998 invoked by uid 22791); 7 Mar 2011 16:53:11 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Mar 2011 16:53:06 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p27Gr5Ki002317 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 7 Mar 2011 11:53:05 -0500 Received: from host1.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p27Gr3jC000913 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Mar 2011 11:53:04 -0500 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p27Gr2km025886; Mon, 7 Mar 2011 17:53:02 +0100 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p27Gr1ao025879; Mon, 7 Mar 2011 17:53:01 +0100 Date: Mon, 07 Mar 2011 17:21:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: Michael Snyder , "gdb-patches@sourceware.org" Subject: Re: [RFA] mdebugread.c (psymtab_to_symtab_1): assert that 'fh' is not null Message-ID: <20110307165301.GA25669@host1.jankratochvil.net> References: <4D71648B.1090101@vmware.com> <20110306142337.GB1895@host1.jankratochvil.net> <4D73D67F.1030704@vmware.com> <20110306185355.GB22789@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00471.txt.bz2 On Mon, 07 Mar 2011 17:43:05 +0100, Tom Tromey wrote: > >>>>> "Jan" == Jan Kratochvil writes: > > Jan> (*) In fact I like the crash from the Fedora point of view better as ABRT > Jan> (Automatic Bug Reporting Tool) will automatically report it. In the case > Jan> of a failed gdb_assert the user may or may not allow the core dump and > Jan> therefore the crash bugreport by ABRT may be suppressed. > Jan> A problem internal to GDB has been detected, > Jan> further debugging may prove unreliable. > Jan> Create a core file of GDB? (y or n) n > Jan> This is just FYI and it should not be related to FSF GDB maintenance. > > Then perhaps we should disable this in Fedora, or at least mention ABRT > in the note. It is more complicated, it should: without ABRT: create core file: n => nothing happens create core file: y => ulimit -c unlimited + crash with ABRT: create core file: n => keep ulimit -c 0 + crash create core file: y => ulimit -c unlimited + crash As ABRT always catches any crash even with ulimit -c 0 but it leaves the regular core file at currentdir as if no ABRT was running. Thanks, Jan