diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-26 20:04:02 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-26 20:04:02 +0000 |
commit | 230a3ab0d4756c07d20d9d4781c6e796f1738631 (patch) | |
tree | d97728d242b305f1c4c1ab7c5bab5d72ee982326 /gdb/stabsread.c | |
parent | 8a910eb2ba5a6edb2ffc19d93b0c8c69ccf2e594 (diff) | |
download | gdb-230a3ab0d4756c07d20d9d4781c6e796f1738631.zip gdb-230a3ab0d4756c07d20d9d4781c6e796f1738631.tar.gz gdb-230a3ab0d4756c07d20d9d4781c6e796f1738631.tar.bz2 |
* stabsread.c (rs6000_builtin_type): Make logical types be
TYPE_CODE_BOOL.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r-- | gdb/stabsread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 0619ad1..c6864cd 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -1674,15 +1674,15 @@ rs6000_builtin_type (typenum) "character", NULL); break; case 21: - rettype = init_type (TYPE_CODE_INT, 1, TYPE_FLAG_UNSIGNED, + rettype = init_type (TYPE_CODE_BOOL, 1, TYPE_FLAG_UNSIGNED, "logical*1", NULL); break; case 22: - rettype = init_type (TYPE_CODE_INT, 2, TYPE_FLAG_UNSIGNED, + rettype = init_type (TYPE_CODE_BOOL, 2, TYPE_FLAG_UNSIGNED, "logical*2", NULL); break; case 23: - rettype = init_type (TYPE_CODE_INT, 4, TYPE_FLAG_UNSIGNED, + rettype = init_type (TYPE_CODE_BOOL, 4, TYPE_FLAG_UNSIGNED, "logical*4", NULL); break; case 24: |