Approved by Jim Blandy:
2001-12-08 Fred Fish <fnf@redhat.com> * dwarf2read.c (TYPE_FLAG_VARARGS): Remove from here. * gdbtypes.h (TYPE_FLAG_VARARGS): Add here and change value to not collide with other flag bits.
This commit is contained in:
parent
f5ef7c67f8
commit
878ac5308a
@ -1,3 +1,9 @@
|
||||
2001-12-08 Fred Fish <fnf@redhat.com>
|
||||
|
||||
* dwarf2read.c (TYPE_FLAG_VARARGS): Remove from here.
|
||||
* gdbtypes.h (TYPE_FLAG_VARARGS): Add here and change value to
|
||||
not collide with other flag bits.
|
||||
|
||||
2001-12-08 Fred Fish <fnf@redhat.com>
|
||||
|
||||
* dwarf2read.c (read_base_type): Rename is_unsigned to type_flags.
|
||||
|
@ -474,10 +474,6 @@ struct field_info
|
||||
int nfnfields;
|
||||
};
|
||||
|
||||
/* FIXME: Kludge to mark a varargs function type for C++ member function
|
||||
argument processing. */
|
||||
#define TYPE_FLAG_VARARGS (1 << 10)
|
||||
|
||||
/* Dwarf2 has no clean way to discern C++ static and non-static member
|
||||
functions. G++ helps GDB by marking the first parameter for non-static
|
||||
member functions (which is the this pointer) as artificial.
|
||||
|
@ -228,6 +228,12 @@ enum type_code
|
||||
#define TYPE_FLAG_CODE_SPACE (1 << 9)
|
||||
#define TYPE_FLAG_DATA_SPACE (1 << 10)
|
||||
|
||||
/* FIXME: Kludge to mark a varargs function type for C++ member
|
||||
function argument processing. Currently only used in dwarf2read.c,
|
||||
but put it here so we won't accidentally overload the bit with
|
||||
another flag. */
|
||||
|
||||
#define TYPE_FLAG_VARARGS (1 << 11)
|
||||
|
||||
struct type
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user