20050831 Paul Gilliam return_value != legacy_return_value; } ! enum return_value_convention gdbarch_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) { gdb_assert (gdbarch != NULL); --- 2776,2782 ---- return gdbarch->return_value != legacy_return_value; } ! retval_convention gdbarch_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) { gdb_assert (gdbarch != NULL); Index: gdbarch.h =================================================================== RCS file: /cvs/src/src/gdb/gdbarch.h,v retrieving revision 1.282 diff -c -3 -p -r1.282 gdbarch.h *** gdbarch.h 14 May 2005 06:07:41 -0000 1.282 --- gdbarch.h 1 Sep 2005 00:21:09 -0000 *************** extern void set_gdbarch_deprecated_store *** 790,796 **** extern int gdbarch_return_value_p (struct gdbarch *gdbarch); typedef enum return_value_convention (gdbarch_return_value_ftype) (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf); ! extern enum return_value_convention gdbarch_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf); extern void set_gdbarch_return_value (struct gdbarch *gdbarch, gdbarch_return_value_ftype *return_value); /* The deprecated methods EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, --- 790,796 ---- extern int gdbarch_return_value_p (struct gdbarch *gdbarch); typedef enum return_value_convention (gdbarch_return_value_ftype) (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf); ! extern retval_convention gdbarch_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf); extern void set_gdbarch_return_value (struct gdbarch *gdbarch, gdbarch_return_value_ftype *return_value); /* The deprecated methods EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, Index: h8300-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/h8300-tdep.c,v retrieving revision 1.101 diff -c -3 -p -r1.101 h8300-tdep.c *** h8300-tdep.c 29 Apr 2005 14:21:22 -0000 1.101 --- h8300-tdep.c 1 Sep 2005 00:21:09 -0000 *************** h8300h_store_return_value (struct type * *** 902,908 **** } } ! static enum return_value_convention h8300_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) --- 902,908 ---- } } ! static retval_convention h8300_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) *************** h8300_return_value (struct gdbarch *gdba *** 916,922 **** return RETURN_VALUE_REGISTER_CONVENTION; } ! static enum return_value_convention h8300h_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) --- 916,922 ---- return RETURN_VALUE_REGISTER_CONVENTION; } ! static retval_convention h8300h_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) Index: hppa-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/hppa-tdep.c,v retrieving revision 1.211 diff -c -3 -p -r1.211 hppa-tdep.c *** hppa-tdep.c 18 Jul 2005 20:34:09 -0000 1.211 --- hppa-tdep.c 1 Sep 2005 00:21:10 -0000 *************** hppa64_push_dummy_call (struct gdbarch * *** 1032,1038 **** /* Handle 32/64-bit struct return conventions. */ ! static enum return_value_convention hppa32_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 1032,1038 ---- /* Handle 32/64-bit struct return conventions. */ ! static retval_convention hppa32_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) *************** hppa32_return_value (struct gdbarch *gdb *** 1072,1078 **** return RETURN_VALUE_STRUCT_CONVENTION; } ! static enum return_value_convention hppa64_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 1072,1078 ---- return RETURN_VALUE_STRUCT_CONVENTION; } ! static retval_convention hppa64_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) Index: i386-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/i386-tdep.c,v retrieving revision 1.217 diff -c -3 -p -r1.217 i386-tdep.c *** i386-tdep.c 18 Jul 2005 19:18:41 -0000 1.217 --- i386-tdep.c 1 Sep 2005 00:21:10 -0000 *************** i386_reg_struct_return_p (struct gdbarch *** 1447,1453 **** and copy it into READBUF. If WRITEBUF is non-zero, write the value from WRITEBUF into REGCACHE. */ ! static enum return_value_convention i386_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 1447,1453 ---- and copy it into READBUF. If WRITEBUF is non-zero, write the value from WRITEBUF into REGCACHE. */ ! static retval_convention i386_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) Index: iq2000-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/iq2000-tdep.c,v retrieving revision 1.1 diff -c -3 -p -r1.1 iq2000-tdep.c *** iq2000-tdep.c 8 Mar 2005 08:59:47 -0000 1.1 --- iq2000-tdep.c 1 Sep 2005 00:21:10 -0000 *************** iq2000_extract_return_value (struct type *** 589,595 **** } } ! static enum return_value_convention iq2000_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) --- 589,595 ---- } } ! static retval_convention iq2000_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) Index: m32r-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/m32r-tdep.c,v retrieving revision 1.38 diff -c -3 -p -r1.38 m32r-tdep.c *** m32r-tdep.c 1 May 2005 19:58:54 -0000 1.38 --- m32r-tdep.c 1 Sep 2005 00:21:10 -0000 *************** m32r_extract_return_value (struct type * *** 789,795 **** } } ! enum return_value_convention m32r_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf) --- 789,795 ---- } } ! retval_convention m32r_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf) Index: m68hc11-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/m68hc11-tdep.c,v retrieving revision 1.108 diff -c -3 -p -r1.108 m68hc11-tdep.c *** m68hc11-tdep.c 11 Feb 2005 04:05:56 -0000 1.108 --- m68hc11-tdep.c 1 Sep 2005 00:21:10 -0000 *************** m68hc11_extract_return_value (struct typ *** 1322,1328 **** } } ! enum return_value_convention m68hc11_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf) --- 1322,1328 ---- } } ! retval_convention m68hc11_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf) Index: m68k-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/m68k-tdep.c,v retrieving revision 1.104 diff -c -3 -p -r1.104 m68k-tdep.c *** m68k-tdep.c 31 Aug 2005 20:48:21 -0000 1.104 --- m68k-tdep.c 1 Sep 2005 00:21:10 -0000 *************** m68k_reg_struct_return_p (struct gdbarch *** 325,331 **** and copy it into READBUF. If WRITEBUF is non-zero, write the value from WRITEBUF into REGCACHE. */ ! static enum return_value_convention m68k_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 325,331 ---- and copy it into READBUF. If WRITEBUF is non-zero, write the value from WRITEBUF into REGCACHE. */ ! static retval_convention m68k_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) *************** m68k_return_value (struct gdbarch *gdbar *** 360,366 **** return RETURN_VALUE_REGISTER_CONVENTION; } ! static enum return_value_convention m68k_svr4_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 360,366 ---- return RETURN_VALUE_REGISTER_CONVENTION; } ! static retval_convention m68k_svr4_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) Index: m88k-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/m88k-tdep.c,v retrieving revision 1.18 diff -c -3 -p -r1.18 m88k-tdep.c *** m88k-tdep.c 12 Jun 2005 11:53:00 -0000 1.18 --- m88k-tdep.c 1 Sep 2005 00:21:11 -0000 *************** m88k_unwind_dummy_id (struct gdbarch *ar *** 382,388 **** and copy it into READBUF. If WRITEBUF is non-zero, write the value from WRITEBUF into REGCACHE. */ ! static enum return_value_convention m88k_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 382,388 ---- and copy it into READBUF. If WRITEBUF is non-zero, write the value from WRITEBUF into REGCACHE. */ ! static retval_convention m88k_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) Index: mips-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/mips-tdep.c,v retrieving revision 1.383 diff -c -3 -p -r1.383 mips-tdep.c *** mips-tdep.c 1 Jul 2005 19:29:46 -0000 1.383 --- mips-tdep.c 1 Sep 2005 00:21:11 -0000 *************** mips_eabi_push_dummy_call (struct gdbarc *** 2649,2655 **** /* Determin the return value convention being used. */ ! static enum return_value_convention mips_eabi_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 2649,2655 ---- /* Determin the return value convention being used. */ ! static retval_convention mips_eabi_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) *************** mips_n32n64_push_dummy_call (struct gdba *** 2899,2905 **** return sp; } ! static enum return_value_convention mips_n32n64_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 2899,2905 ---- return sp; } ! static retval_convention mips_n32n64_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) *************** mips_o32_push_dummy_call (struct gdbarch *** 3314,3320 **** return sp; } ! static enum return_value_convention mips_o32_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 3314,3320 ---- return sp; } ! static retval_convention mips_o32_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) *************** mips_o64_push_dummy_call (struct gdbarch *** 3768,3774 **** return sp; } ! static enum return_value_convention mips_o64_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 3768,3774 ---- return sp; } ! static retval_convention mips_o64_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) Index: ms1-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/ms1-tdep.c,v retrieving revision 1.1 diff -c -3 -p -r1.1 ms1-tdep.c *** ms1-tdep.c 15 Aug 2005 21:46:38 -0000 1.1 --- ms1-tdep.c 1 Sep 2005 00:21:11 -0000 *************** ms1_register_reggroup_p (struct gdbarch *** 246,252 **** WRITEBUF respectively using REGCACHE for the register values. */ ! static enum return_value_convention ms1_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 246,252 ---- WRITEBUF respectively using REGCACHE for the register values. */ ! static retval_convention ms1_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) Index: ppc-linux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/ppc-linux-tdep.c,v retrieving revision 1.75 diff -c -3 -p -r1.75 ppc-linux-tdep.c *** ppc-linux-tdep.c 13 Jul 2005 16:29:04 -0000 1.75 --- ppc-linux-tdep.c 1 Sep 2005 00:21:11 -0000 *************** ppc_linux_memory_remove_breakpoint (CORE *** 485,491 **** structures, no matter their size, are put in memory. Vectors, which were added later, do get returned in a register though. */ ! static enum return_value_convention ppc_linux_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 485,491 ---- structures, no matter their size, are put in memory. Vectors, which were added later, do get returned in a register though. */ ! static retval_convention ppc_linux_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) Index: ppc-sysv-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/ppc-sysv-tdep.c,v retrieving revision 1.31 diff -c -3 -p -r1.31 ppc-sysv-tdep.c *** ppc-sysv-tdep.c 17 Aug 2005 07:44:13 -0000 1.31 --- ppc-sysv-tdep.c 1 Sep 2005 00:21:11 -0000 *************** ppc_sysv_abi_push_dummy_call (struct gdb *** 343,349 **** GCC (broken): Small struct values right (instead of left) aligned when returned in general-purpose registers. */ ! static enum return_value_convention do_ppc_sysv_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf, int broken_gcc) --- 343,349 ---- GCC (broken): Small struct values right (instead of left) aligned when returned in general-purpose registers. */ ! static retval_convention do_ppc_sysv_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf, int broken_gcc) *************** do_ppc_sysv_return_value (struct gdbarch *** 514,520 **** return RETURN_VALUE_STRUCT_CONVENTION; } ! enum return_value_convention ppc_sysv_abi_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 514,520 ---- return RETURN_VALUE_STRUCT_CONVENTION; } ! retval_convention ppc_sysv_abi_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) *************** ppc_sysv_abi_return_value (struct gdbarc *** 523,529 **** writebuf, 0); } ! enum return_value_convention ppc_sysv_abi_broken_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, --- 523,529 ---- writebuf, 0); } ! retval_convention ppc_sysv_abi_broken_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, *************** ppc64_sysv_abi_push_dummy_call (struct g *** 877,883 **** copy the buffer to the corresponding register return-value location location; when READBUF is non-NULL, fill the buffer from the corresponding register return-value location. */ ! enum return_value_convention ppc64_sysv_abi_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 877,883 ---- copy the buffer to the corresponding register return-value location location; when READBUF is non-NULL, fill the buffer from the corresponding register return-value location. */ ! retval_convention ppc64_sysv_abi_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) Index: ppc-tdep.h =================================================================== RCS file: /cvs/src/src/gdb/ppc-tdep.h,v retrieving revision 1.46 diff -c -3 -p -r1.46 ppc-tdep.h *** ppc-tdep.h 25 May 2005 03:12:13 -0000 1.46 --- ppc-tdep.h 1 Sep 2005 00:21:11 -0000 *************** struct regcache; *** 30,45 **** struct type; /* From ppc-linux-tdep.c... */ ! enum return_value_convention ppc_sysv_abi_return_value (struct gdbarch *gdbarch, ! struct type *valtype, ! struct regcache *regcache, ! gdb_byte *readbuf, ! const gdb_byte *writebuf); ! enum return_value_convention ppc_sysv_abi_broken_return_value (struct gdbarch *gdbarch, ! struct type *valtype, ! struct regcache *regcache, ! gdb_byte *readbuf, ! const gdb_byte *writebuf); CORE_ADDR ppc_sysv_abi_push_dummy_call (struct gdbarch *gdbarch, struct value *function, struct regcache *regcache, --- 30,45 ---- struct type; /* From ppc-linux-tdep.c... */ ! retval_convention ppc_sysv_abi_return_value (struct gdbarch *gdbarch, ! struct type *valtype, ! struct regcache *regcache, ! gdb_byte *readbuf, ! const gdb_byte *writebuf); ! retval_convention ppc_sysv_abi_broken_return_value (struct gdbarch *gdbarch, ! struct type *valtype, ! struct regcache *regcache, ! gdb_byte *readbuf, ! const gdb_byte *writebuf); CORE_ADDR ppc_sysv_abi_push_dummy_call (struct gdbarch *gdbarch, struct value *function, struct regcache *regcache, *************** void ppc_linux_supply_fpregset (const st *** 66,76 **** struct regcache *regcache, int regnum, const void *gregs, size_t size); ! enum return_value_convention ppc64_sysv_abi_return_value (struct gdbarch *gdbarch, ! struct type *valtype, ! struct regcache *regcache, ! gdb_byte *readbuf, ! const gdb_byte *writebuf); /* From rs6000-tdep.c... */ int altivec_register_p (int regno); --- 66,76 ---- struct regcache *regcache, int regnum, const void *gregs, size_t size); ! retval_convention ppc64_sysv_abi_return_value (struct gdbarch *gdbarch, ! struct type *valtype, ! struct regcache *regcache, ! gdb_byte *readbuf, ! const gdb_byte *writebuf); /* From rs6000-tdep.c... */ int altivec_register_p (int regno); Index: ppcnbsd-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/ppcnbsd-tdep.c,v retrieving revision 1.26 diff -c -3 -p -r1.26 ppcnbsd-tdep.c *** ppcnbsd-tdep.c 11 Feb 2005 04:06:01 -0000 1.26 --- ppcnbsd-tdep.c 1 Sep 2005 00:21:12 -0000 *************** static struct core_fns ppcnbsd_elfcore_f *** 244,250 **** convention but, 1.6 switched to the below broken convention. For the moment use the broken convention. Ulgh!. */ ! static enum return_value_convention ppcnbsd_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf) --- 244,250 ---- convention but, 1.6 switched to the below broken convention. For the moment use the broken convention. Ulgh!. */ ! static retval_convention ppcnbsd_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf) Index: s390-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/s390-tdep.c,v retrieving revision 1.147 diff -c -3 -p -r1.147 s390-tdep.c *** s390-tdep.c 15 Aug 2005 17:36:48 -0000 1.147 --- s390-tdep.c 1 Sep 2005 00:21:12 -0000 *************** s390_frame_align (struct gdbarch *gdbarc *** 2714,2720 **** /* Function return value access. */ ! static enum return_value_convention s390_return_value_convention (struct gdbarch *gdbarch, struct type *type) { int length = TYPE_LENGTH (type); --- 2714,2720 ---- /* Function return value access. */ ! static retval_convention s390_return_value_convention (struct gdbarch *gdbarch, struct type *type) { int length = TYPE_LENGTH (type); *************** s390_return_value_convention (struct gdb *** 2733,2746 **** } } ! static enum return_value_convention s390_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *out, const gdb_byte *in) { int word_size = gdbarch_ptr_bit (gdbarch) / 8; int length = TYPE_LENGTH (type); ! enum return_value_convention rvc = s390_return_value_convention (gdbarch, type); if (in) { --- 2733,2746 ---- } } ! static retval_convention s390_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *out, const gdb_byte *in) { int word_size = gdbarch_ptr_bit (gdbarch) / 8; int length = TYPE_LENGTH (type); ! retval_convention rvc = s390_return_value_convention (gdbarch, type); if (in) { Index: sh-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sh-tdep.c,v retrieving revision 1.187 diff -c -3 -p -r1.187 sh-tdep.c *** sh-tdep.c 27 Apr 2005 20:48:25 -0000 1.187 --- sh-tdep.c 1 Sep 2005 00:21:12 -0000 *************** sh_store_return_value_fpu (struct type * *** 1282,1288 **** sh_store_return_value_nofpu (type, regcache, valbuf); } ! static enum return_value_convention sh_return_value_nofpu (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) --- 1282,1288 ---- sh_store_return_value_nofpu (type, regcache, valbuf); } ! static retval_convention sh_return_value_nofpu (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) *************** sh_return_value_nofpu (struct gdbarch *g *** 1296,1302 **** return RETURN_VALUE_REGISTER_CONVENTION; } ! static enum return_value_convention sh_return_value_fpu (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) --- 1296,1302 ---- return RETURN_VALUE_REGISTER_CONVENTION; } ! static retval_convention sh_return_value_fpu (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) Index: sh64-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sh64-tdep.c,v retrieving revision 1.38 diff -c -3 -p -r1.38 sh64-tdep.c *** sh64-tdep.c 2 May 2005 15:23:37 -0000 1.38 --- sh64-tdep.c 1 Sep 2005 00:21:12 -0000 *************** sh64_store_return_value (struct type *ty *** 1310,1316 **** } } ! static enum return_value_convention sh64_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) --- 1310,1316 ---- } } ! static retval_convention sh64_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) Index: sparc-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparc-tdep.c,v retrieving revision 1.165 diff -c -3 -p -r1.165 sparc-tdep.c *** sparc-tdep.c 13 Aug 2005 22:12:24 -0000 1.165 --- sparc-tdep.c 1 Sep 2005 00:21:13 -0000 *************** sparc32_store_return_value (struct type *** 951,957 **** } } ! static enum return_value_convention sparc32_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 951,957 ---- } } ! static retval_convention sparc32_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) Index: sparc64-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparc64-tdep.c,v retrieving revision 1.24 diff -c -3 -p -r1.24 sparc64-tdep.c *** sparc64-tdep.c 12 Jun 2005 11:10:56 -0000 1.24 --- sparc64-tdep.c 1 Sep 2005 00:21:13 -0000 *************** sparc64_store_return_value (struct type *** 1087,1093 **** } } ! static enum return_value_convention sparc64_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 1087,1093 ---- } } ! static retval_convention sparc64_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) Index: v850-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/v850-tdep.c,v retrieving revision 1.94 diff -c -3 -p -r1.94 v850-tdep.c *** v850-tdep.c 18 May 2005 08:52:18 -0000 1.94 --- v850-tdep.c 1 Sep 2005 00:21:13 -0000 *************** v850_store_return_value (struct type *ty *** 792,798 **** } } ! static enum return_value_convention v850_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 792,798 ---- } } ! static retval_convention v850_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) Index: vax-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/vax-tdep.c,v retrieving revision 1.90 diff -c -3 -p -r1.90 vax-tdep.c *** vax-tdep.c 12 Jun 2005 11:17:57 -0000 1.90 --- vax-tdep.c 1 Sep 2005 00:21:13 -0000 *************** vax_unwind_dummy_id (struct gdbarch *gdb *** 201,207 **** } ! static enum return_value_convention vax_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) --- 201,207 ---- } ! static retval_convention vax_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) Index: xstormy16-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/xstormy16-tdep.c,v retrieving revision 1.88 diff -c -3 -p -r1.88 xstormy16-tdep.c *** xstormy16-tdep.c 11 Feb 2005 18:13:54 -0000 1.88 --- xstormy16-tdep.c 1 Sep 2005 00:21:13 -0000 *************** xstormy16_store_return_value (struct typ *** 199,205 **** } } ! static enum return_value_convention xstormy16_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) --- 199,205 ---- } } ! static retval_convention xstormy16_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf)