2001-08-08 Don Howard <dhoward@redhat.com>

* stabsread.c (read_type): Add support for const and volatile
	modifiers.
This commit is contained in:
Don Howard 2001-08-08 16:15:38 +00:00
parent fce3099f60
commit a1bab801d9
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-08-08 Don Howard <dhoward@redhat.com>
* stabsread.c (read_type): Add support for const and volatile
modifiers.
2001-08-02 Daniel Jacobowitz <drow@mvista.com>
* core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_T

View File

@ -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 '@':