{
gdb_byte *buf;
- buf = alloca (gdbarch_ptr_bit (gdbarch) / HOST_CHAR_BIT);
+ buf = ((gdb_byte *)
+ alloca (gdbarch_ptr_bit (gdbarch) / HOST_CHAR_BIT));
fputs_filtered (", ", stream);
wrap_here (n_spaces (2));
{
int i, len, n_baseclasses;
- CHECK_TYPEDEF (type);
+ type = check_typedef (type);
fprintf_filtered (stream, "{");
len = TYPE_NFIELDS (type);
struct type *target_type;
CORE_ADDR addr;
- CHECK_TYPEDEF (type);
+ type = check_typedef (type);
switch (TYPE_CODE (type))
{
case TYPE_CODE_PTR: