From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1829 invoked by alias); 11 Jan 2010 18:01:33 -0000 Received: (qmail 1805 invoked by uid 22791); 11 Jan 2010 18:01:33 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 Jan 2010 18:01:28 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0BI0f56003292 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 11 Jan 2010 13:00:45 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0BI09W9024743 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 11 Jan 2010 13:00:27 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id o0BI06mM020659; Mon, 11 Jan 2010 19:00:06 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id o0BI04PA020656; Mon, 11 Jan 2010 19:00:04 +0100 Date: Mon, 11 Jan 2010 18:01:00 -0000 From: Jan Kratochvil To: Tristan Gingold Cc: gdb-patches@sourceware.org Subject: Re: [patch] Support binary (0b...) numbers Message-ID: <20100111180004.GB20336@host0.dyn.jankratochvil.net> References: <20100111143749.GA7420@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-17) 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: 2010-01/txt/msg00263.txt.bz2 On Mon, 11 Jan 2010 16:04:02 +0100, Tristan Gingold wrote: > On Jan 11, 2010, at 3:37 PM, Jan Kratochvil wrote: > > it is completely offtopic from my other work but I got now surprised GDB > > cannot parse standard C syntax of binary (0b11 == 3) numbers. > > 'standard' ? I thought this was a GNU-C extension. Ah, really: info '(gcc)Binary constants' is under node 'C Extensions'. I did not know. Thanks, Jan