From 8367c66b2d43bf7cc7455ccfbbce75aea02f168e Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Thu, 16 Mar 1995 20:37:09 +0000 Subject: [PATCH] * stabsread.c (rs6000_builtin_type): Recognize types -31 to -34. --- gdb/ChangeLog | 4 ++++ gdb/stabsread.c | 16 +++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bb490a357e1..9fc97f1069e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Thu Mar 16 12:14:41 1995 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabsread.c (rs6000_builtin_type): Recognize types -31 to -34. + Wed Mar 15 15:09:29 1995 Stu Grossman (grossman@cygnus.com) * findvar.c (read_register_bytes write_register_bytes): Make diff --git a/gdb/stabsread.c b/gdb/stabsread.c index be281bff20b..66488f8e735 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; -- 2.30.2