diff options
author | Michael Snyder <msnyder@vmware.com> | 2004-05-04 20:04:58 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2004-05-04 20:04:58 +0000 |
commit | 6689478109601046fce5456cba9affda8174d059 (patch) | |
tree | 554a660754b25e6425090026ff8650bf1ba3a39f | |
parent | f0f63663f019d9a3a82e078c830ae806d60ddb1e (diff) | |
download | gdb-6689478109601046fce5456cba9affda8174d059.zip gdb-6689478109601046fce5456cba9affda8174d059.tar.gz gdb-6689478109601046fce5456cba9affda8174d059.tar.bz2 |
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).
-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 cf38d5d..d8b072e 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 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); |