From d7242108d7b130fb18fc591e5be389406fca526e Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 15 Jan 2002 16:47:17 +0000 Subject: [PATCH] 2001-01-15 Daniel Jacobowitz * stabsread.c (read_type): Pass dbx_lookup_type (typenums) to make_cv_type. --- gdb/ChangeLog | 5 +++++ gdb/stabsread.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9b66955c569..5347d1f50a5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-01-15 Daniel Jacobowitz + + * stabsread.c (read_type): Pass dbx_lookup_type (typenums) + to make_cv_type. + 2002-01-14 Andrew Cagney * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 25937b1f455..45075a62096 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -2586,7 +2586,8 @@ again: if (type_descriptor == 'c' && !os9k_stabs) return error_type (pp, objfile); type = read_type (pp, objfile); - type = make_cv_type (1, TYPE_VOLATILE (type), type, 0); + type = make_cv_type (1, TYPE_VOLATILE (type), type, + dbx_lookup_type (typenums)); break; case 'B': /* Volatile qual on some type (Sun) */ @@ -2596,7 +2597,8 @@ again: if (type_descriptor == 'i' && !os9k_stabs) return error_type (pp, objfile); type = read_type (pp, objfile); - type = make_cv_type (TYPE_CONST (type), 1, type, 0); + type = make_cv_type (TYPE_CONST (type), 1, type, + dbx_lookup_type (typenums)); break; case '@': -- 2.30.2