From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12472 invoked by alias); 21 Mar 2003 16:56:57 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12279 invoked from network); 21 Mar 2003 16:56:53 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sources.redhat.com with SMTP; 21 Mar 2003 16:56:53 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 8997AD34B8; Fri, 21 Mar 2003 08:56:56 -0800 (PST) Date: Fri, 21 Mar 2003 16:56:00 -0000 From: Joel Brobecker To: gdb@sources.redhat.com Subject: Re: Getting all breakable lines from gdb Message-ID: <20030321165656.GM16507@gnat.com> References: <20030321132626.GB14884@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030321132626.GB14884@white> User-Agent: Mutt/1.4i X-SW-Source: 2003-03/txt/msg00313.txt.bz2 > Would it be possible to add a command to the MI interface that would > return a list of all possible line numbers in a file that the user could > set a breakpoint at? We suggested a new command that gives you a little bit more than just the breakable lines, and Thierry Schneider implemented it. Nobody reviewed the change yet because Thierry is waiting for his copyright assignment application to be accepted (last I talked to him, he said that he had received the paperwork, and sent it back). See: http://sources.redhat.com/ml/gdb-patches/2003-03/msg00000.html And then: http://sources.redhat.com/ml/gdb-patches/2003-03/msg00208.html for a suggested patch. The PC addresses are useful for GVD, because they use this information to display the assembly window. I was thinking that the next improvement to this command would be to add switches like: -l -> line only, -p -> pc only, -sl/-el -> start or end at line, -sp/-ep -> start or end at pc, etc... -- Joel