From c28096f36a20f9692fa77a97aa4f9aff284a0514 Mon Sep 17 00:00:00 2001
From: Jim Kingdon <jkingdon@engr.sgi.com>
Date: Mon, 23 Aug 1993 19:35:33 +0000
Subject: [PATCH] Write (half-assed) ChangeLog entry for sef changes.

Change name of target from netbsd-386 to a.out-netbsd-386 so that GDB
can recognize it as an a.out variant.
---
 bfd/ChangeLog   | 8 ++++++++
 bfd/netbsd386.c | 3 ++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 99bb57d20c..0049dd827a 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,11 @@
+Mon Aug 23 1993  Sean Fagan  (sef@cygnus.com)
+		 and Jim Kingdon  (kingdon@cygnus.com)
+
+	Add NetBSD support:
+	* netbsd386.c: New file.
+	* Makefile.in, aout-target.h, config.bfd, configure.host, configure.in,
+	libaout.h, targets.c: Other changes.
+
 Fri Aug 20 17:04:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
 	* config/m88k-elf.mt: New file.
diff --git a/bfd/netbsd386.c b/bfd/netbsd386.c
index 207638a31c..0cf5193b9a 100644
--- a/bfd/netbsd386.c
+++ b/bfd/netbsd386.c
@@ -33,7 +33,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #define MACHTYPE_OK(mtype) ((mtype) == M_386 || (mtype) == M_I386 || (mtype) == M_UNKNOWN)
 
 #define MY(OP) CAT(netbsd386_,OP)
-#define TARGETNAME "netbsd-386"
+/* This needs to start with a.out so GDB knows it is an a.out variant.  */
+#define TARGETNAME "a.out-netbsd-386"
 
 #define N_MAGIC(ex) \
     ( (((ex).a_info)&0xffff0000) ? (ntohl(((ex).a_info))&0xffff) : ((ex).a_info))