[patch] Support binary (0b...) numbers

Jan Kratochvil jan.kratochvil@redhat.com
Mon Jan 11 18:01:00 GMT 2010


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



More information about the Gdb-patches mailing list