* gdb/m68k-tdep.c (m68k_svr4_extract_return_value): Use
commit22decbf83495243c2c78f59c3f9a6caa55c48ba9
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 8 Jun 2006 07:23:04 +0000 (8 07:23 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Thu, 8 Jun 2006 07:23:04 +0000 (8 07:23 +0000)
treec1fc01288a9366747e547ff79d3a62fe7fd15468
parenta52be66b4ff8f87adab231e2bd6000cb7b55ed3b
* gdb/m68k-tdep.c (m68k_svr4_extract_return_value): Use
tdep->ptr_value_regnum for pointer returns.
(m68k_svr4_store_return_value): Likewise.
(m68k_reg_struct_return_r): New, broken out of ...
(m68k_reg_struct_return_p): ... here.  Implement gcc's structure
mode algorithm.
(m68k_svr4_init_abi, m68k_aout_init_abi): Set ptr_value_regnum.
(m68k_gdbarch_init): Likewise.
* gdb/m68k-tdep.h (struct gdbarch_tdep): Add ptr_value_regnum
field.
ChangeLog.csl