Skip to content

Commit

Permalink
Fix struct_return ABI
Browse files Browse the repository at this point in the history
Reported by Thorsten Otto.
  • Loading branch information
vinriviere committed Aug 27, 2023
1 parent e98a051 commit 29a1e7b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gdb/mintelf-tdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,7 @@ mintelf_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)

/* MiNT ELF uses the SVR4 ABI. */
m68k_svr4_init_abi (info, gdbarch);
tdep->struct_return = pcc_struct_return;

tdep->struct_return = reg_struct_return;
}

void _initialize_mintelf_tdep ();
Expand Down

0 comments on commit 29a1e7b

Please sign in to comment.