From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22653 invoked by alias); 2 May 2019 15:59:23 -0000 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 Received: (qmail 22638 invoked by uid 89); 2 May 2019 15:59:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 02 May 2019 15:59:21 +0000 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 906768F29F; Thu, 2 May 2019 15:59:20 +0000 (UTC) Received: from f29-4.lan (ovpn-116-84.phx2.redhat.com [10.3.116.84]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5AC0060BF9; Thu, 2 May 2019 15:59:20 +0000 (UTC) Date: Thu, 02 May 2019 15:59:00 -0000 From: Kevin Buettner To: Eli Zaretskii Cc: gdb-patches@sourceware.org, simark@simark.ca Subject: Re: The 'cold' function attribute and GDB Message-ID: <20190502085919.63b2d520@f29-4.lan> In-Reply-To: <83lfzoq3ly.fsf@gnu.org> References: <83wojaovbp.fsf@gnu.org> <077aee8c-7bef-bad6-a6a1-e69f116cc18b@simark.ca> <20190501195113.69aea752@f30-4.lan> <20190502002644.5e40b489@f29-4.lan> <83lfzoq3ly.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-05/txt/msg00043.txt.bz2 On Thu, 02 May 2019 18:26:49 +0300 Eli Zaretskii wrote: > > Date: Thu, 2 May 2019 00:26:44 -0700 > > From: Kevin Buettner > > Cc: gdb-patches@sourceware.org, Simon Marchi > > > > https://www.sourceware.org/ml/gdb-patches/2018-08/msg00541.html > > > > It's possible that more needs to be done with display of addresses. > > I'll need to look at it more closely to know for sure. It would help > > me if there were a relatively small test case to look at. (It would > > help even more if it could be reproduced on a GNU/Linux system.) > > I tried to write a small test program, but couldn't reproduce the > issue with the backtrace. > > It's possible that the shortest way of reproducing this is for you to > build the latest master branch of Emacs with the default compiler > switches (which should yield -O2 -g3). If you go that way, let me > know if you need help in actually forcing Emacs to fall through on the > call to emacs_abort. I'd also be interested to know whether this is > reproducible on GNU/Linux. > > This is with GCC 8.2.0, btw. I'll give this a try. I have GCC 8.3.1 and 9.0.1 readily available. Do you think it's important to use 8.2.0 ? Kevin