diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/stabsread.c | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9b66955..5347d1f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-01-15 Daniel Jacobowitz <drow@mvista.com> + + * stabsread.c (read_type): Pass dbx_lookup_type (typenums) + to make_cv_type. + 2002-01-14 Andrew Cagney <ac131313@redhat.com> * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 25937b1..45075a6 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 '@': |