Binary numbers starting with 0b

Marc Khouzam marc.khouzam@ericsson.com
Wed Mar 26 14:16:00 GMT 2008



> On Behalf Of Nick Roberts
>  > A couple of months ago it was discussed to add a 0b in front of binary
>  > numbers.
>  > 
>  > http://sourceware.org/ml/gdb/2008-01/msg00327.html
>  > 
>  > I'm not sure what happened to this.  Was it decided against?
> 
> If approved, I could commit my change to printcmd.c which would fix your
> problem with variable objects.  However, I'm not planning on going through
> all the yacc parser files anytime soon.

Just to clarify: my original problem with variable objects was already fixed by
http://sourceware.org/ml/gdb/2008-02/msg00006.html

But it seems we all agree that the 0b prefix has value in itself.
But there is not urgency.

Thanks

Marc



More information about the Gdb mailing list