From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27680 invoked by alias); 17 Feb 2006 12:37:39 -0000 Received: (qmail 27672 invoked by uid 22791); 17 Feb 2006 12:37:38 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 17 Feb 2006 12:37:38 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FA4rY-00035R-Hg for gdb@sources.redhat.com; Fri, 17 Feb 2006 13:37:28 +0100 Received: from zigzag.lvk.cs.msu.su ([158.250.17.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Feb 2006 13:37:28 +0100 Received: from ghost by zigzag.lvk.cs.msu.su with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Feb 2006 13:37:28 +0100 To: gdb@sources.redhat.com From: Vladimir Prus Subject: MI: output of -break-insert and -break-watch Date: Fri, 17 Feb 2006 12:37:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.8.2 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-02/txt/msg00168.txt.bz2 Hello! The output of -break-insert and -break-watch currently looks like this: ^done,bkpt={number="1",...... and ^done,wpt={number="2",....... What is exactly the point of using different field names: "bkpt" and "wpt"? This makes it impossible to get the number of set breakpoint in a uniform fashion -- I need to have some conditional on the type of breakpoint, or add logic that checks if "bkpt" or "wpt" is present in reply. Why can't we have just: ^done,number="1" ? And this can be done in backward-compatible way, btw. - Volodya