This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Support binary (0b...) numbers
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 <jan.kratochvil@redhat.com>
+ * NEWS: Document the 0b binary number prefix parsing.
+
+2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
* 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