From: Don Howard Date: Wed, 8 Aug 2001 16:15:38 +0000 (+0000) Subject: 2001-08-08 Don Howard X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a1bab801d91011b887ff29d88a608cb7deccbfab;p=binutils-gdb.git 2001-08-08 Don Howard * stabsread.c (read_type): Add support for const and volatile modifiers. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 938e484adc0..ff0205f3a19 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-08-08 Don Howard + + * stabsread.c (read_type): Add support for const and volatile + modifiers. + 2001-08-02 Daniel Jacobowitz * core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_T diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 00857e05d9b..87cf76801c3 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -2586,7 +2586,7 @@ again: if (type_descriptor == 'c' && !os9k_stabs) return error_type (pp, objfile); type = read_type (pp, objfile); - /* FIXME! For now, we ignore const and volatile qualifiers. */ + type = make_cv_type (1, TYPE_VOLATILE (type), type, 0); break; case 'B': /* Volatile qual on some type (Sun) */ @@ -2596,7 +2596,7 @@ again: if (type_descriptor == 'i' && !os9k_stabs) return error_type (pp, objfile); type = read_type (pp, objfile); - /* FIXME! For now, we ignore const and volatile qualifiers. */ + type = make_cv_type (TYPE_CONST (type), 1, type, 0); break; case '@':