From 0ddd0135e664b7497c3712ecefd09a8eef0c55d3 Mon Sep 17 00:00:00 2001
From: Jason Thorpe <thorpej@netbsd.org>
Date: Sun, 2 Jun 2002 20:28:58 +0000
Subject: * ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set use_struct_convention
 to ppc_sysv_abi_broken_use_struct_convention.

---
 gdb/ChangeLog      | 5 +++++
 gdb/ppcnbsd-tdep.c | 6 ------
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e771a2c..60c62f2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
 2002-06-02  Jason Thorpe  <thorpej@wasabisystems.com>
 
+	* ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set
+	use_struct_convention to ppc_sysv_abi_broken_use_struct_convention.
+
+2002-06-02  Jason Thorpe  <thorpej@wasabisystems.com>
+
 	* config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.o
 	insetead of ppc-linux-tdep.o.
 	* config/rs6000/rs6000.mt (TDEPFILES): Likewise.
diff --git a/gdb/ppcnbsd-tdep.c b/gdb/ppcnbsd-tdep.c
index 16662fd..44d8682 100644
--- a/gdb/ppcnbsd-tdep.c
+++ b/gdb/ppcnbsd-tdep.c
@@ -200,12 +200,6 @@ static void
 ppcnbsd_init_abi (struct gdbarch_info info,
                   struct gdbarch *gdbarch)
 {
-  /* Until November 2001, gcc was not complying to the SYSV ABI for
-     returning structures less than or equal to 8 bytes in size. It was
-     returning everything in memory. When this was corrected, it wasn't
-     fixed for native platforms.  */
-  set_gdbarch_use_struct_convention (gdbarch,
-                                   ppc_sysv_abi_broken_use_struct_convention);
 
   set_solib_svr4_fetch_link_map_offsets (gdbarch,
                                 nbsd_ilp32_solib_svr4_fetch_link_map_offsets);
-- 
cgit v1.1