aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-06-25 19:29:45 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-06-25 19:29:45 +0000
commit7e71985c9e0da1d2453ee40dd408e23a97fc25b8 (patch)
tree3b8810eb8f2ce9003ecc471b7b34997e45a051a1 /gdb/stabsread.c
parenta38b1233c25f478e32dc6ad1b189e775aa529430 (diff)
downloadgdb-7e71985c9e0da1d2453ee40dd408e23a97fc25b8.zip
gdb-7e71985c9e0da1d2453ee40dd408e23a97fc25b8.tar.gz
gdb-7e71985c9e0da1d2453ee40dd408e23a97fc25b8.tar.bz2
* c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
* stabsread.c: Type -16 is 4 bytes.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index c09525a..4f86215 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -1687,8 +1687,7 @@ rs6000_builtin_type (typenum)
rettype = init_type (TYPE_CODE_INT, 4, 0, "integer", NULL);
break;
case 16:
- /* What is the proper size of this type? */
- rettype = init_type (TYPE_CODE_BOOL, 1, 0, "boolean", NULL);
+ rettype = init_type (TYPE_CODE_BOOL, 4, 0, "boolean", NULL);
break;
case 17:
rettype = init_type (TYPE_CODE_FLT, 4, 0, "short real", NULL);