* gdbtypes.c (create_set_type): Set TYPE_LENGTH in bytes, not bits.
authorPer Bothner <per@bothner.com>
Tue, 19 Sep 1995 22:39:04 +0000 (22:39 +0000)
committerPer Bothner <per@bothner.com>
Tue, 19 Sep 1995 22:39:04 +0000 (22:39 +0000)
commitb46805224b81b08335947252fc23d474b4bbc0a0
tree39a9f4380a16d13a7e4e954fc9efbff54edd08da
parenta56552441f1333d5f810157fb5e877cfafa45a7f
* gdbtypes.c (create_set_type):  Set TYPE_LENGTH in bytes, not bits.
* valops.c (value_bitstring):  TYPE_LENGTH is bytes, not bits.

* gdbtypes.c (force_to_range_type):  Calculate upper limit of
TYPE_CODE_CHAR depending on TYPE_LENGTH (instead of just using 255).
gdb/ChangeLog
gdb/gdbtypes.c
gdb/valops.c