From 6689478109601046fce5456cba9affda8174d059 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Tue, 4 May 2004 20:04:58 +0000 Subject: 2004-05-04 Michael Snyder * m68k-tdep.c (m68k_gdbarch_init): Default to using reg_struct_return method (as gcc usually does for cross targets). --- gdb/ChangeLog | 5 +++++ gdb/m68k-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cf38d5d..d8b072e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-05-04 Michael Snyder + + * 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 Committed by Andrew Cagney. diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c index d0c4f0e..3c465ee 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); -- cgit v1.1