Add support for Chill bitstring literals (e.h. H'FF00').
authorPer Bothner <per@bothner.com>
Mon, 23 Jan 1995 21:20:58 +0000 (21:20 +0000)
committerPer Bothner <per@bothner.com>
Mon, 23 Jan 1995 21:20:58 +0000 (21:20 +0000)
commit6d34c23688b9d441b6daba6dff56d6a4389bc058
treef2acf81c173f32cd8b679d92911f4298440f896d
parentce51845b10a95dc54e30c5df90706a3902d6d1ed
Add support for Chill bitstring literals (e.h. H'FF00').
* ch-exp.y (match_bitstring_literal):  Fix for proper endianness.
* expprint.c (print_subexp):  Don't call error on OP_BITSTRING,
just print B'<unimlemented>'.
* gdbtypes.c (create_set_type):  Fix bug in length calculation.
* valops.c, value.h (value_bitstring):  New function.
* eval.c (evaluate_subexp):  Implement support for OP_BITSTRING.

* ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
check that return type is non-void, and print in proper Chill syntax.
gdb/ChangeLog
gdb/ch-exp.y
gdb/ch-typeprint.c
gdb/eval.c
gdb/gdbtypes.c
gdb/valops.c
gdb/value.h