From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16070 invoked by alias); 11 Jan 2010 19:31:28 -0000 Received: (qmail 16057 invoked by uid 22791); 11 Jan 2010 19:31:28 -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 19:31:23 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0BJUdj2009839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 11 Jan 2010 14:30:39 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0BJUV7N013916 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 11 Jan 2010 14:30:38 -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 o0BJUUvs026328; Mon, 11 Jan 2010 20:30:30 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id o0BJUOj1026318; Mon, 11 Jan 2010 20:30:24 +0100 Date: Mon, 11 Jan 2010 19:31:00 -0000 From: Jan Kratochvil To: Eli Zaretskii Cc: brobecker@adacore.com, gdb-patches@sourceware.org Subject: Re: [patch] Support binary (0b...) numbers Message-ID: <20100111193024.GA26211@host0.dyn.jankratochvil.net> References: <20100111143749.GA7420@host0.dyn.jankratochvil.net> <20100111175722.GH2007@adacore.com> <20100111181122.GC20336@host0.dyn.jankratochvil.net> <83d41g8mur.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83d41g8mur.fsf@gnu.org> 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/msg00272.txt.bz2 On Mon, 11 Jan 2010 20:26:04 +0100, Eli Zaretskii wrote: > > * NEWS: Document 0b binary number prefix parsing. > > Yes, thanks. Fixed "was"->"way", checked-in. Thanks, Jan http://sourceware.org/ml/gdb-cvs/2010-01/msg00096.html --- src/gdb/ChangeLog 2010/01/11 18:15:05 1.11233 +++ src/gdb/ChangeLog 2010/01/11 19:29:12 1.11234 @@ -1,5 +1,9 @@ 2010-01-11 Jan Kratochvil + * NEWS: Document the 0b binary number prefix parsing. + +2010-01-11 Jan Kratochvil + * objfiles.c (objfile_relocate1): Change the return type to int. Describe the new return value. Return non-zero if data changed. (objfile_relocate): New variable changed. Set it. Call --- src/gdb/NEWS 2010/01/10 06:43:01 1.347 +++ src/gdb/NEWS 2010/01/11 19:29:12 1.348 @@ -128,6 +128,11 @@ ftrace FN / FILE:LINE / *ADDR Define a fast tracepoint at the given function, line, or address. +* New expression syntax + + GDB now parses the 0b prefix of binary numbers the same way as GCC does. + GDB now parses 0b101010 identically with 42. + * New options set follow-exec-mode new|same