From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10297 invoked by alias); 27 Mar 2009 02:18:54 -0000 Received: (qmail 9864 invoked by uid 22791); 27 Mar 2009 02:18:53 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Mar 2009 02:18:46 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 92C0D107C8; Fri, 27 Mar 2009 02:18:44 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 032A9106AA; Fri, 27 Mar 2009 02:18:43 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1Ln1ec-0007aP-Oq; Thu, 26 Mar 2009 22:18:42 -0400 Date: Fri, 27 Mar 2009 02:19:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: RFC: preserve line number when skipping prologue Message-ID: <20090327021842.GA29050@caradoc.them.org> Mail-Followup-To: Joel Brobecker , Tom Tromey , gdb-patches@sourceware.org References: <20090326224949.GM9472@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090326224949.GM9472@adacore.com> User-Agent: Mutt/1.5.17 (2008-05-11) 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: 2009-03/txt/msg00608.txt.bz2 On Thu, Mar 26, 2009 at 03:49:49PM -0700, Joel Brobecker wrote: > I don't know which one I prefer, though. Actually, I think I would > prefer if GDB reported the real line on which it was inserted. But > that would be a change of behavior from before, and that could > have ramifications that could potentially annoys the users > (on the "clear" command, for instance). FWIW, a (related) request we often see is for IDEs to report which lines can have breakpoints set on them. Still not foolproof with optimized code, but much better. Eclipse JDT (Java) does this, and I believe at least one vendor has managed to get CDT to do it also. -- Daniel Jacobowitz CodeSourcery