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 /gdb/m68k-tdep.c | |
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).
Diffstat (limited to 'gdb/m68k-tdep.c')
-rw-r--r-- | gdb/m68k-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |