From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10650 invoked by alias); 17 Mar 2006 11:37:24 -0000 Received: (qmail 10633 invoked by uid 22791); 17 Mar 2006 11:37:23 -0000 X-Spam-Check-By: sourceware.org Received: from gandalf.inter.net.il (HELO gandalf.inter.net.il) (192.114.186.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 17 Mar 2006 11:37:22 +0000 Received: from nitzan.inter.net.il (nitzan.inter.net.il [192.114.186.20]) by gandalf.inter.net.il (MOS 3.7.1-GA) with ESMTP id IEF12298; Fri, 17 Mar 2006 13:36:39 +0200 (IST) Received: from HOME-C4E4A596F7 (IGLD-84-228-141-3.inter.net.il [84.228.141.3]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id CXK02544 (AUTH halo1); Fri, 17 Mar 2006 13:36:36 +0200 (IST) Date: Fri, 17 Mar 2006 11:40:00 -0000 Message-Id: From: Eli Zaretskii To: Nick Roberts CC: ghost@cs.msu.su, gdb@sources.redhat.com In-reply-to: <17433.61359.500131.182453@kahikatea.snap.net.nz> (message from Nick Roberts on Fri, 17 Mar 2006 12:07:27 +1300) Subject: Re: MI: changing breakpoint location Reply-to: Eli Zaretskii References: <17433.61359.500131.182453@kahikatea.snap.net.nz> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00120.txt.bz2 > From: Nick Roberts > Date: Fri, 17 Mar 2006 12:07:27 +1300 > Cc: gdb@sources.redhat.com > > > Now, I have to delete the old breakpoint and create the new one, which is > > workable, but not convenient. > > I don't find a problem with that, but it would be nice if when a program is > edited and recompiled that GDB could track the line number. So, for example > if the breakpoint is on line 10, say, and lines 4 and 5 are deleted, then > after recompiling and restarting, its on line 8. I agree. When I saw the first message of this thread, I immediately thought that this was the reason for Volodya to ask for that feature. But even if Volodya did not think about this, I think such a feature will be good to have.