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: Re: Contributing LLVM.org patches to gud.el Date: Wed, 11 Feb 2015 11:37:30 +0100 Message-ID: <8761b8raxh.fsf@fencepost.gnu.org> References: <87mw4rxkzv.fsf@fencepost.gnu.org> <87y4oavxcy.fsf@fencepost.gnu.org> <87d25juy8m.fsf@fencepost.gnu.org> <83iofa8lu2.fsf@gnu.org> <87wq3qrvjz.fsf@fencepost.gnu.org> <83386d92ox.fsf@gnu.org> <874mqtsoqy.fsf@fencepost.gnu.org> <83y4o57lfj.fsf@gnu.org> <87oap1nmef.fsf@uwakimon.sk.tsukuba.ac.jp> <54DAD0C3.9040103@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423651367 12860 80.91.229.3 (11 Feb 2015 10:42:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Feb 2015 10:42:47 +0000 (UTC) Cc: "Stephen J. Turnbull" , Eli Zaretskii , emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 11 11:42:46 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YLUkn-0001Gd-Ip for ged-emacs-devel@m.gmane.org; Wed, 11 Feb 2015 11:42:46 +0100 Original-Received: from localhost ([::1]:44083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLUkm-0002TB-Ue for ged-emacs-devel@m.gmane.org; Wed, 11 Feb 2015 05:42:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLUhG-0005cd-Lg for emacs-devel@gnu.org; Wed, 11 Feb 2015 05:39:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLUhB-0003c2-Ru for emacs-devel@gnu.org; Wed, 11 Feb 2015 05:39:06 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLUhB-0003bk-Oe for emacs-devel@gnu.org; Wed, 11 Feb 2015 05:39:01 -0500 Original-Received: from localhost ([127.0.0.1]:57511 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLUhA-0000bq-BV; Wed, 11 Feb 2015 05:39:00 -0500 Original-Received: by lola (Postfix, from userid 1000) id 7E8CAE0CF4; Wed, 11 Feb 2015 11:37:30 +0100 (CET) In-Reply-To: <54DAD0C3.9040103@dancol.org> (Daniel Colascione's message of "Tue, 10 Feb 2015 19:47:15 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182873 Archived-At: Daniel Colascione writes: > On 02/10/2015 07:43 PM, Stephen J. Turnbull wrote: >> Eli Zaretskii writes: >> >> > > Uh, there is a connection. Because modern IDEs tend to have useful >> > > program information when debugging instead of (optimized out). >> > >> > Compile with -Og (which should be the default anyway), and you have >> > that with GCC/GDB as well. >> >> Er, most programs I compile default to -O3 (I mean upstream does). So >> you can't debug a production build even if you have symbols. Arrgh > > What exactly are the DWARF deficiencies that prevent a debugger from > unwinding caller-saved registers to their original values? The > specification seems more than powerful enough for the task. The issue mostly are values which are not present explicitly anywhere. If the compiler can deduce the value/effect of a variable, it does not need to store it anywhere. -- David Kastrup