ld -plugin options when plugins are disabled
[deliverable/binutils-gdb.git] / gdb / ppc-linux-tdep.c
index 676be72521761ecb06e914df5776bef91351705a..4c4bdacf4d1f917709fd3baf690c3371cf3fc0d3 100644 (file)
@@ -250,8 +250,8 @@ ppc_linux_return_value (struct gdbarch *gdbarch, struct value *function,
                        struct type *valtype, struct regcache *regcache,
                        gdb_byte *readbuf, const gdb_byte *writebuf)
 {  
-  if ((TYPE_CODE (valtype) == TYPE_CODE_STRUCT
-       || TYPE_CODE (valtype) == TYPE_CODE_UNION)
+  if ((valtype->code () == TYPE_CODE_STRUCT
+       || valtype->code () == TYPE_CODE_UNION)
       && !((TYPE_LENGTH (valtype) == 16 || TYPE_LENGTH (valtype) == 8)
           && TYPE_VECTOR (valtype)))
     return RETURN_VALUE_STRUCT_CONVENTION;
This page took 0.023483 seconds and 4 git commands to generate.