From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Post-mortem debugging and abort Date: Fri, 13 Jun 2008 17:02:20 +0200 Message-ID: <86od65gyyr.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213369402 9858 80.91.229.12 (13 Jun 2008 15:03:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2008 15:03:22 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 13 17:04:05 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K7Aoi-0005jF-LC for ged-emacs-devel@m.gmane.org; Fri, 13 Jun 2008 17:03:52 +0200 Original-Received: from localhost ([127.0.0.1]:47834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7Anu-0006gO-VD for ged-emacs-devel@m.gmane.org; Fri, 13 Jun 2008 11:03:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7AnH-0006E3-Si for emacs-devel@gnu.org; Fri, 13 Jun 2008 11:02:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7AnG-0006CH-2i for emacs-devel@gnu.org; Fri, 13 Jun 2008 11:02:23 -0400 Original-Received: from [199.232.76.173] (port=34402 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7AnF-0006C8-Sr for emacs-devel@gnu.org; Fri, 13 Jun 2008 11:02:21 -0400 Original-Received: from mail.quinscape.de ([212.29.44.217]:51714) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K7AnF-0004LP-9j for emacs-devel@gnu.org; Fri, 13 Jun 2008 11:02:21 -0400 Original-Received: (qmail-ldap/ctrl 4157 invoked from network); 13 Jun 2008 15:02:18 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by quinx.quinscape.de (qmail-ldap-1.03) with SMTP for ; 13 Jun 2008 15:02:18 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id 1051E8EFE7; Fri, 13 Jun 2008 17:02:20 +0200 (CEST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-AntiVirus: checked by AntiVir MailGate (version: 2.1.3-2; AVE: 7.8.0.55; VDF: 7.0.4.191; host: quinx) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99106 Archived-At: Hi, I just wanted to report that the declaration of "abort" in glibc is not going to be changed to be more compatible with debugging. shows my report and its resolution. So it remains the Emacs developers' duty to either use the -fno-crossjumping option when compiling (as specified in etc/DEBUG in the Emacs distribution) or locally edit /usr/include/stdlib.h to remove the noreturn attribute from abort. The latter is, of course, giving yourself a non-standard development system, but if you want to do any post-mortem debugging (which usually goes through abort), it should definitely help for all projects one actually wants to do post-mortem debugging on for failed assertions and similar. -- David Kastrup