summaryrefslogtreecommitdiff
path: root/gdb/m68k-tdep.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2004-05-04 20:04:58 +0000
committerMichael Snyder <msnyder@specifix.com>2004-05-04 20:04:58 +0000
commitbc08c6bf28375fd0de17fbec74544b437c16c770 (patch)
tree2fff6273fbf2897e64bb2d981c3762d0a04564ac /gdb/m68k-tdep.c
parentf13655da4492e2114bb2f84faec16bb4c08bd9ba (diff)
downloadgdb-bc08c6bf28375fd0de17fbec74544b437c16c770.tar.gz
2004-05-04 Michael Snyder <msnyder@redhat.com>
* m68k-tdep.c (m68k_gdbarch_init): Default to using reg_struct_return method (as gcc usually does for cross targets).
Diffstat (limited to 'gdb/m68k-tdep.c')
-rw-r--r--gdb/m68k-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c
index d0c4f0e15ee..3c465eec08b 100644
--- a/gdb/m68k-tdep.c
+++ b/gdb/m68k-tdep.c
@@ -1137,7 +1137,7 @@ m68k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
tdep->jb_pc = -1;
#endif
tdep->struct_value_regnum = M68K_A1_REGNUM;
- tdep->struct_return = pcc_struct_return;
+ tdep->struct_return = reg_struct_return;
/* Frame unwinder. */
set_gdbarch_unwind_dummy_id (gdbarch, m68k_unwind_dummy_id);