mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
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:
@@ -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
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user