From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27733 invoked by alias); 3 Jun 2011 08:03:33 -0000 Received: (qmail 27724 invoked by uid 22791); 3 Jun 2011 08:03:32 -0000 X-SWARE-Spam-Status: No, hits=-6.4 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; Fri, 03 Jun 2011 08:03:15 +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 p53833ej005863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 3 Jun 2011 04:03:12 -0400 Received: from host1.jankratochvil.net (ovpn-113-38.phx2.redhat.com [10.3.113.38]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p53830n4005102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Jun 2011 04:03:02 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p53830oa003933; Fri, 3 Jun 2011 10:03:00 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p5382xAk003932; Fri, 3 Jun 2011 10:02:59 +0200 Date: Fri, 03 Jun 2011 08:03:00 -0000 From: Jan Kratochvil To: Andrew Cagney Cc: gdb@sourceware.org Subject: Re: Bug 10738 - Cannot set breakpoint on inlined function Message-ID: <20110603080259.GB30867@host1.jankratochvil.net> References: 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-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00021.txt.bz2 Hi Andrew, On Sun, 29 May 2011 16:43:16 +0200, Andrew Cagney wrote: > This bug apparently recently came up on the GCC lists, and RMS is > drawing it to our attention. Does it pique anyone's interest? > > http://sourceware.org/bugzilla/show_bug.cgi?id=10738 while it is sure a high priority Bug it is meaningful only for interactive debugging of -O2 -g code. AFAIK most of the GDB use cases is only for backtracing, both automatic (ABRT, Apport, others) and by hand (bt+quit) as people do not want to learn all the GDB commands. -O2 -g interactive debugging (stepping) is not yet much feasible due to the "jumping around" as GCC does not produce valid DW_LNS_negate_stmt and does not properly undo/redo variable states by DWARF across scheduled instructions, as planned by Alexandre Oliva. The highest priority is to get at least the backtraces working for -O2 -g code. For example archer-jankratochvil-entryval for it I will submit these weeks. Thanks, Jan