Remove BITS_IN_BYTES define
authorTom Tromey <tom@tromey.com>
Tue, 11 Jul 2017 12:44:36 +0000 (06:44 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 14 Aug 2017 16:14:06 +0000 (10:14 -0600)
commitd3abe1c8ef1ec9a90932b801138a144dcae95100
tree11058d5e69302cbbd5597c44e4ce8b5e6251b519
parentd6382fffde99214ce4aee99a208ddb703c647008
Remove BITS_IN_BYTES define

While working on the previous patch, I noticed that BITS_IN_BYTES can be
replaced by HOST_CHAR_BIT, which is used more widely in gdb.

ChangeLog
2017-08-14  Tom Tromey  <tom@tromey.com>

* valprint.c (print_octal_chars): Use HOST_CHAR_BIT.
(print_binary_chars): Likewise.
(BITS_IN_BYTES): Remove.
gdb/ChangeLog
gdb/valprint.c