From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22190 invoked by alias); 11 Jan 2008 23:40:28 -0000 Received: (qmail 22182 invoked by uid 22791); 11 Jan 2008 23:40:28 -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; Fri, 11 Jan 2008 23:39:57 +0000 Received: from kahikatea.snap.net.nz (157.60.255.123.dynamic.snap.net.nz [123.255.60.157]) by viper.snap.net.nz (Postfix) with ESMTP id 960DD3DA236; Sat, 12 Jan 2008 12:39:55 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 1853F8FC6D; Sat, 12 Jan 2008 12:39:50 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18311.65093.38930.103045@kahikatea.snap.net.nz> Date: Fri, 11 Jan 2008 23:40:00 -0000 To: Daniel Jacobowitz Cc: Andreas Schwab , Marc Khouzam , gdb@sources.redhat.com Subject: Re: -var-update using formatted value In-Reply-To: <20080111225928.GA26360@caradoc.them.org> References: <6D19CA8D71C89C43A057926FE0D4ADAA04290E1B@ecamlmw720.eamcs.ericsson.se> <18311.60638.724524.220449@kahikatea.snap.net.nz> <20080111225928.GA26360@caradoc.them.org> X-Mailer: VM 7.19 under Emacs 23.0.50.27 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00080.txt.bz2 Daniel Jacobowitz writes: > On Fri, Jan 11, 2008 at 11:53:04PM +0100, Andreas Schwab wrote: > > It should begin with a digit, otherwise it could be mistaken for an > > ordinary identifier. 0b is a often used prefix. > > That's unambiguous with other supported number formats and valid C > tokens, I believe. If I'm right, it would be nice to be able to type > binary numbers in GDB. I don't understand the second sentence. -- Nick http://www.inet.net.nz/~nickrob