* 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.
This commit is contained in:
Jim Kingdon
1994-02-02 17:20:45 +00:00
parent 1051c97f63
commit 61932a8ee9
8 changed files with 50 additions and 74 deletions

View File

@@ -106,7 +106,10 @@ struct language_defn
enum language la_language;
/* Its builtin types */
/* Its builtin types. This is a vector ended by a NULL pointer. These
types can be specified by name in parsing types in expressions,
regardless of whether the program being debugged actually defines
such a type. */
struct type ** const *la_builtin_type_vector;