X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Fppc-sysv-tdep.c;h=ecae6363e3ae0a388bc5294aade5590c4b432d18;hb=61baf725eca99af2569262d10aca03dcde2698f6;hp=ea98c6ebed5f2573542304e2eb76c8c415c75d2a;hpb=a1da2672bdc5adc551ad30d73eccea902063f583;p=external%2Fbinutils.git diff --git a/gdb/ppc-sysv-tdep.c b/gdb/ppc-sysv-tdep.c index ea98c6e..ecae636 100644 --- a/gdb/ppc-sysv-tdep.c +++ b/gdb/ppc-sysv-tdep.c @@ -1,7 +1,7 @@ /* Target-dependent code for PowerPC systems using the SVR4 ABI for GDB, the GNU debugger. - Copyright (C) 2000-2015 Free Software Foundation, Inc. + Copyright (C) 2000-2017 Free Software Foundation, Inc. This file is part of GDB. @@ -28,6 +28,7 @@ #include "objfiles.h" #include "infcall.h" #include "dwarf2.h" +#include /* Check whether FTPYE is a (pointer to) function type that should use @@ -608,7 +609,7 @@ ppc_sysv_abi_push_dummy_call (struct gdbarch *gdbarch, struct value *function, } /* Handle the return-value conventions for Decimal Floating Point values. */ -static int +static enum return_value_convention get_decimal_float_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) @@ -1189,7 +1190,7 @@ ppc64_aggregate_candidate (struct type *type, if (TYPE_CODE (type) == TYPE_CODE_STRUCT) count += sub_count; else - count = max (count, sub_count); + count = std::max (count, sub_count); } /* There must be no padding. */