From: Don Howard Date: Wed, 8 Aug 2001 16:15:38 +0000 (+0000) Subject: 2001-08-08 Don Howard X-Git-Tag: cygnus_cvs_20020108_pre~1745 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1bab801d91011b887ff29d88a608cb7deccbfab;p=external%2Fbinutils.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 938e484..ff0205f 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 00857e0..87cf768 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 '@':