From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25838 invoked by alias); 27 Nov 2007 23:11:04 -0000 Received: (qmail 25827 invoked by uid 22791); 27 Nov 2007 23:11:03 -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; Tue, 27 Nov 2007 23:10:49 +0000 Received: from kahikatea.snap.net.nz (128.61.255.123.dynamic.snap.net.nz [123.255.61.128]) by viper.snap.net.nz (Postfix) with ESMTP id 806623DA457; Wed, 28 Nov 2007 12:10:41 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 563328FC6D; Wed, 28 Nov 2007 12:10:40 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18252.41967.580.993502@kahikatea.snap.net.nz> Date: Tue, 27 Nov 2007 23:11:00 -0000 To: Daniel Jacobowitz Cc: Vladimir Prus , gdb-patches@sources.redhat.com Subject: Re: [ob] unbreak MI In-Reply-To: <20071127134425.GA3001@caradoc.them.org> References: <200708312244.58216.ghost@cs.msu.su> <18251.35325.929245.184830@kahikatea.snap.net.nz> <20071127134425.GA3001@caradoc.them.org> X-Mailer: VM 7.19 under Emacs 23.0.50.3 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: 2007-11/txt/msg00519.txt.bz2 > > Generally, with a NULL pointer, or and address that can't be dereferenced, > > MI prints out the value field as value="". > > If this is a requirement, could it be added to the manual? I'd have > naively expected no value to not be printed. That's exactly what does happen from the perspective of the front end: it takes the null string and prints it, i.e., nothing. I'm not sure what would be worthwhile to say and I never considered this situation when writing the front end for Emacs; it just came out right. Perhaps, however, I've just got used to the status quo, and you could ask others (Ericsson?) if they find this behaviour surprising. > Your patch is OK. Committed. Thanks. -- Nick http://www.inet.net.nz/~nickrob