Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] Support binary (0b...) numbers
Date: Mon, 11 Jan 2010 18:12:00 -0000	[thread overview]
Message-ID: <20100111181122.GC20336@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <20100111175722.GH2007@adacore.com>

On Mon, 11 Jan 2010 18:57:22 +0100, Joel Brobecker wrote:
> > 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
> > 
> > 	Implement binary numbers parsing.
> > 	* c-exp.y (parse_number): New case 'b' and 'B'.
> 
> Is this worth a NEWS entry?

That makes sense.  OK to check-in?


Thanks,
Jan


2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* NEWS: Document 0b binary number prefix parsing.

--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -128,6 +128,11 @@ teval EXPR, ...
 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 was as GCC does.
+  GDB now parses 0b101010 identically with 42.
+
 * New options
 
 set follow-exec-mode new|same


  reply	other threads:[~2010-01-11 18:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-11 14:38 Jan Kratochvil
2010-01-11 15:03 ` Tristan Gingold
2010-01-11 18:01   ` Jan Kratochvil
2010-01-11 17:51 ` Tom Tromey
2010-01-11 17:59   ` Jan Kratochvil
2010-01-11 17:57 ` Joel Brobecker
2010-01-11 18:12   ` Jan Kratochvil [this message]
2010-01-11 19:25     ` Eli Zaretskii
2010-01-11 19:31       ` Jan Kratochvil
2010-01-11 19:06 ` Michael Snyder
2010-01-11 23:03 ` Mark Kettenis
2010-01-12  1:09 ` Stan Shebs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100111181122.GC20336@host0.dyn.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox