From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31290 invoked by alias); 16 Mar 2006 23:25:39 -0000 Received: (qmail 31282 invoked by uid 22791); 16 Mar 2006 23:25:38 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 16 Mar 2006 23:25:38 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FK1qX-0006hK-L0; Thu, 16 Mar 2006 18:25:33 -0500 Date: Thu, 16 Mar 2006 23:54:00 -0000 From: Daniel Jacobowitz To: David Daney Cc: Nick Roberts , Vladimir Prus , gdb@sources.redhat.com Subject: Re: MI: changing breakpoint location Message-ID: <20060316232533.GA25722@nevyn.them.org> Mail-Followup-To: David Daney , Nick Roberts , Vladimir Prus , gdb@sources.redhat.com References: <17433.61359.500131.182453@kahikatea.snap.net.nz> <20060316231215.GA25222@nevyn.them.org> <4419F35D.6000907@avtrex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4419F35D.6000907@avtrex.com> User-Agent: Mutt/1.5.8i 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/msg00108.txt.bz2 On Thu, Mar 16, 2006 at 03:23:09PM -0800, David Daney wrote: > I can't see why you would want to do it anyplace *other* than the > editor. It would know for sure which lines had been added and deleted. > Anything else would just be guessing. Well, in the CLI GDB, we don't have any interaction with the editor. So I can see the benefit in guessing. I'm not so sure about the MI case though. Maybe whatever conclusion we reach should end up in the MI documentation somewhere - this sounds like the sort of design issue that most frontends would stop to consider... -- Daniel Jacobowitz CodeSourcery