From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20161 invoked by alias); 16 Mar 2006 23:09:01 -0000 Received: (qmail 20149 invoked by uid 22791); 16 Mar 2006 23:09:01 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 16 Mar 2006 23:08:57 +0000 Received: from kahikatea.snap.net.nz (p202-124-114-121.snap.net.nz [202.124.114.121]) by viper.snap.net.nz (Postfix) with ESMTP id 03A97749460; Fri, 17 Mar 2006 12:08:52 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 53B0488EC; Fri, 17 Mar 2006 12:07:28 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17433.61359.500131.182453@kahikatea.snap.net.nz> Date: Thu, 16 Mar 2006 23:12:00 -0000 To: Vladimir Prus Cc: gdb@sources.redhat.com Subject: MI: changing breakpoint location In-Reply-To: References: 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/msg00105.txt.bz2 > 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 think Visual Stuio has this feature. I have no idea how easy/hard it would be to implement. -- Nick http://www.inet.net.nz/~nickrob