> This is almost obvious... > > 2003-06-11 Jim Blandy > > * arch-utils.c (always_use_struct_convention): New function. > * arch-utils.h (always_use_struct_convention): New prototype. > * alpha-tdep.c (alpha_use_struct_convention): Delete. > (alpha_gdbarch_init): Register always_use_struct_convention, > instead of alpha_use_struct_convention. > * cris-tdep.c (cris_use_struct_convention): Delete. > (cris_gdbarch_init): Register always_use_struct_convention, > instead of cris_use_struct_convention. > * frv-tdep.c (frv_use_struct_convention): Delete. > (frv_gdbarch_init): Register always_use_struct_convention, > instead of frv_use_struct_convention. > * h8300-tdep.c (h8300_use_struct_convention): Delete. > (h8300_gdbarch_init): Register always_use_struct_convention, > instead of h8300_use_struct_convention. > * mips_o32-tdep.c (mips_o32_use_struct_convention): Delete. > (mips_o32_gdbarch_init): Register always_use_struct_convention, > instead of mips_o32_use_struct_convention. > > No, it is obvious :-) Nice catch. Well, almost. The patch broke mips-elf :-( /home/cagney/PENDING/2003-06-12-deprecate-register/src/gdb/mips-tdep.c: In function `mips_gdbarch_init': /home/cagney/PENDING/2003-06-12-deprecate-register/src/gdb/mips-tdep.c:5794: `mips_o32_use_struct_convention' undeclared (first use in this function) Please be sure to check that the change doesn' break the cross target builds. The script gdb/gdb_mbuild.sh helps. I checked in the attached. Andrew