Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Marc Khouzam" <marc.khouzam@ericsson.com>
To: "Daniel Jacobowitz" <drow@false.org>
Cc: <gdb@sources.redhat.com>, <nickrob@snap.net.nz>
Subject: RE: Binary numbers starting with 0b
Date: Wed, 26 Mar 2008 14:24:00 -0000	[thread overview]
Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA04290FCA@ecamlmw720.eamcs.ericsson.se> (raw)
In-Reply-To: <20080325203030.GA27776@caradoc.them.org>

> From: Daniel Jacobowitz
> > 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.

I'm not sure what is considered bacwards-compatible but I figured
that if this patch broke the test suite, then there was some compatibility issue :-)
One example is if a frontend prepends binary numbers with 0b to display to the user;
they may now end up with 0b0b1010 if they didn't first check for the presence of 0b.
But maybe this is being overly careful.  

I still vote for the 0b, though.

Thanks

Marc


  reply	other threads:[~2008-03-26 13:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-25 20:44 Marc Khouzam
2008-03-25 21:23 ` Daniel Jacobowitz
2008-03-26 14:24   ` Marc Khouzam [this message]
2008-03-25 21:41 ` Nick Roberts
2008-03-26 14:16   ` Marc Khouzam
2008-03-26 22:40     ` Nick Roberts

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=6D19CA8D71C89C43A057926FE0D4ADAA04290FCA@ecamlmw720.eamcs.ericsson.se \
    --to=marc.khouzam@ericsson.com \
    --cc=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=nickrob@snap.net.nz \
    /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