diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/m68k-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cf38d5d9191..d8b072e9820 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +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). + 2004-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> Committed by Andrew Cagney. 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); |