From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26005 invoked by alias); 17 Apr 2008 21:09:44 -0000 Received: (qmail 25997 invoked by uid 22791); 17 Apr 2008 21:09:44 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 17 Apr 2008 21:09:15 +0000 Received: from kahikatea.snap.net.nz (166.60.255.123.dynamic.snap.net.nz [123.255.60.166]) by viper.snap.net.nz (Postfix) with ESMTP id 3AD543DA4AC; Fri, 18 Apr 2008 09:09:12 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id D72E58FC6D; Fri, 18 Apr 2008 09:09:02 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18439.48237.976967.657153@kahikatea.snap.net.nz> Date: Thu, 17 Apr 2008 21:17:00 -0000 To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA/RFC] Report the original location specification for a breakpoint. In-Reply-To: <200804171853.19525.vladimir@codesourcery.com> References: <200804151434.57665.vladimir@codesourcery.com> <200804171359.09556.vladimir@codesourcery.com> <18439.9128.907701.745181@kahikatea.snap.net.nz> <200804171853.19525.vladimir@codesourcery.com> X-Mailer: VM 7.19 under Emacs 22.2.50.2 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00364.txt.bz2 > > It's used by "info breakpoints". > > What's "it" above? ui_out_field_string always outputs to both MI and CLI, and this part of the code is traversed by "info breakpoints" (and "-break-list"). By comparison, it's also traversed by "-break-insert" but _not_ by "break". > Anyway, it appears that the field indeed gets output in CLI mode, so I'll > adjust my patch not to do that. > > > > > > > This definitely needs documentation to go in. I can't say this > > > > enough. Undocumented fields in the MI output might as well not exist. > > > > There are already many other fields that aren't documented, e.g., > > pending, what, cond, ignore etc. In fact the MI output of -break-insert > > is very variable. > > Are you volunteering to document that? No, I'm just doing a reality check. -- Nick http://www.inet.net.nz/~nickrob