diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-02-02 17:20:45 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-02-02 17:20:45 +0000 |
commit | 61932a8ee900c0368eef3b101fa9a04050aa7c56 (patch) | |
tree | e0a50d67f3e5ef8de7283822ecacc3d4d93fee3c /gdb/ch-typeprint.c | |
parent | 1051c97f630bf96febe9e0029ba8df161d3a4db1 (diff) | |
download | fsf-binutils-gdb-61932a8ee900c0368eef3b101fa9a04050aa7c56.zip fsf-binutils-gdb-61932a8ee900c0368eef3b101fa9a04050aa7c56.tar.gz fsf-binutils-gdb-61932a8ee900c0368eef3b101fa9a04050aa7c56.tar.bz2 |
* gdbtypes.h, ch-typeprint.c, ch-valprint.c:
Change comments regarding TYPE_CODE_BOOL.
* language.c (boolean_type): Always return 1 for TYPE_CODE_BOOL,
regardless of the language.
(value_true): Just call value_logical_not regardless of language.
* coffread.c (coff_read_enum_type), stabsread.c (read_enum_type):
Remove #if 0'd code which makes some enums TYPE_CODE_BOOL.
* language.h: Improve comment for la_builtin_type_vector.
* m2-lang.c (_initialize_m2_language): Don't add any fields to
builtin_type_m2_bool.
Diffstat (limited to 'gdb/ch-typeprint.c')
-rw-r--r-- | gdb/ch-typeprint.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ch-typeprint.c b/gdb/ch-typeprint.c index 377fff9..740af37 100644 --- a/gdb/ch-typeprint.c +++ b/gdb/ch-typeprint.c @@ -115,6 +115,10 @@ chill_type_print_base (type, stream, show, level) break; case TYPE_CODE_BOOL: + /* FIXME: we should probably just print the TYPE_NAME, in case + anyone ever fixes the compiler to give us the real names + in the presence of the chill equivalent of typedef (assuming + there is one). */ fprintf_filtered (stream, "BOOL"); break; |