diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-03-16 20:37:09 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-03-16 20:37:09 +0000 |
commit | 8367c66b2d43bf7cc7455ccfbbce75aea02f168e (patch) | |
tree | a11c711a2e2809510fda2c20014c02a891af9239 /gdb/stabsread.c | |
parent | ffcee8884bbbed98f7db81ca0094ba301b000c24 (diff) | |
download | gdb-8367c66b2d43bf7cc7455ccfbbce75aea02f168e.zip gdb-8367c66b2d43bf7cc7455ccfbbce75aea02f168e.tar.gz gdb-8367c66b2d43bf7cc7455ccfbbce75aea02f168e.tar.bz2 |
* stabsread.c (rs6000_builtin_type): Recognize types -31 to -34.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r-- | gdb/stabsread.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c index be281bf..66488f8 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -1774,7 +1774,7 @@ rs6000_builtin_type (typenum) int typenum; { /* We recognize types numbered from -NUMBER_RECOGNIZED to -1. */ -#define NUMBER_RECOGNIZED 30 +#define NUMBER_RECOGNIZED 34 /* This includes an empty slot for type number -0. */ static struct type *negative_types[NUMBER_RECOGNIZED + 1]; struct type *rettype = NULL; @@ -1908,6 +1908,20 @@ rs6000_builtin_type (typenum) case 30: rettype = init_type (TYPE_CODE_CHAR, 2, 0, "wchar", NULL); break; + case 31: + rettype = init_type (TYPE_CODE_INT, 8, 0, "long long", NULL); + break; + case 32: + rettype = init_type (TYPE_CODE_INT, 8, TYPE_FLAG_UNSIGNED, + "unsigned long long", NULL); + break; + case 33: + rettype = init_type (TYPE_CODE_INT, 8, TYPE_FLAG_UNSIGNED, + "logical*8", NULL); + break; + case 34: + rettype = init_type (TYPE_CODE_INT, 8, 0, "integer*8", NULL); + break; } negative_types[-typenum] = rettype; return rettype; |