This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Use SVR4 calling convention on NetBSD/m68k ELF


Forgot to check this in.  Committed now.

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* m68kbsd-tdep.c (m68kbsd_elf_init_abi): Call m68k_svr4_init_abi.

Index: m68kbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/m68kbsd-tdep.c,v
retrieving revision 1.1
diff -u -p -r1.1 m68kbsd-tdep.c
--- m68kbsd-tdep.c 30 Apr 2004 23:28:51 -0000 1.1
+++ m68kbsd-tdep.c 10 May 2004 21:24:41 -0000
@@ -176,6 +176,8 @@ m68kbsd_elf_init_abi (struct gdbarch_inf
 
   m68kbsd_init_abi (info, gdbarch);
 
+  /* NetBSD ELF uses the SVR4 ABI.  */
+  m68k_svr4_init_abi (info, gdbarch);
   tdep->struct_return = pcc_struct_return;
 
   /* NetBSD ELF uses SVR4-style shared libraries.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]