aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-07-26 20:04:02 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-07-26 20:04:02 +0000
commit230a3ab0d4756c07d20d9d4781c6e796f1738631 (patch)
treed97728d242b305f1c4c1ab7c5bab5d72ee982326 /gdb/stabsread.c
parent8a910eb2ba5a6edb2ffc19d93b0c8c69ccf2e594 (diff)
downloadgdb-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.c6
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: