2002-04-24 Elena Zannoni <ezannoni@redhat.com>

* gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define.
         * gdbtypes.c (recursive_dump_type): Output the vector flag.
         * dwarf2read.c (dwarf_attr_name): Handle new attribute for
         vectors.
         (read_array_type): Record the fact that this array type is really a
         vector (i.e. are passed in by value).
This commit is contained in:
Elena Zannoni
2002-04-26 20:08:19 +00:00
parent e54fdaa5c9
commit f5f8a0099e
4 changed files with 35 additions and 0 deletions

View File

@@ -248,6 +248,13 @@ enum type_code
#define TYPE_FLAG_VARARGS (1 << 11)
#define TYPE_VARARGS(t) ((t)->flags & TYPE_FLAG_VARARGS)
/* Identify a vector type. Gcc is handling this by adding an extra
attribute to the array type. We slurp that in as a new flag of a
type. This is used only in dwarf2read.c. */
#define TYPE_FLAG_VECTOR (1 << 12)
#define TYPE_VECTOR(t) ((t)->flags & TYPE_FLAG_VECTOR)
struct type
{