List Info

Thread: Binary numbers starting with 0b




Binary numbers starting with 0b
country flaguser name
Canada
2008-03-25 15:17:44
Hi,

A couple of months ago it was discussed to add a 0b in front
of binary numbers.

ht
tp://sourceware.org/ml/gdb/2008-01/msg00327.html

I'm not sure what happened to this.  Was it decided
against?
Or maybe there was a backwards compatibility concern?  I
actually am a bit worried
about adding the 0b as not being backwards compatible,
although I do think it would
be a nice thing for GDB to accept.

Thanks

marc

-- 
Marc Khouzam
Software Designer, Methods and Tools
Ericsson Canada Inc

Re: Binary numbers starting with 0b
country flaguser name
United States
2008-03-25 15:30:30
On Tue, Mar 25, 2008 at 04:17:44PM -0400, Marc Khouzam
wrote:
> Hi,
> 
> A couple of months ago it was discussed to add a 0b in
front of binary numbers.
> 
> ht
tp://sourceware.org/ml/gdb/2008-01/msg00327.html
> 
> I'm not sure what happened to this.  Was it decided
against?
> Or maybe there was a backwards compatibility concern? 
I actually am a bit worried
> about adding the 0b as not being backwards compatible,
although I do think it would
> be a nice thing for GDB to accept.

No, there was no decision against it.  I still think it's a
good idea,
I just didn't have time to update the parsers.

I do not see any compatibility problems.

-- 
Daniel Jacobowitz
CodeSourcery

Re: Binary numbers starting with 0b
user name
2008-03-25 16:22:13
 > A couple of months ago it was discussed to add a 0b in
front of binary
 > numbers.
 > 
 > ht
tp://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.

-- 
Nick                                           http://www.inet.net.n
z/~nickrob

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )