From 77a7fe6d0b2eb8e4a9ef8d4f8dd51a906a2174ae Mon Sep 17 00:00:00 2001
From: Mark Kettenis <kettenis@gnu.org>
Date: Mon, 29 Nov 2004 11:20:10 +0000
Subject: [PATCH] * config/sparc/nbsdaout.mh (NAT_FILE): Set to solib.h. *
 config/sparc/nbsdelf.mh (NAT_FILE): Remove variable. *
 config/sparc/nm-nbsd.h: Remove file. * config/sparc/nm-nbsdaout.h: Remove
 file.

---
 gdb/ChangeLog                  |  5 ++++
 gdb/config/sparc/nbsdaout.mh   |  2 +-
 gdb/config/sparc/nbsdelf.mh    |  1 -
 gdb/config/sparc/nm-nbsd.h     | 42 ----------------------------------
 gdb/config/sparc/nm-nbsdaout.h | 30 ------------------------
 5 files changed, 6 insertions(+), 74 deletions(-)
 delete mode 100644 gdb/config/sparc/nm-nbsd.h
 delete mode 100644 gdb/config/sparc/nm-nbsdaout.h

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 14835cd0143..30b58f23c6f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
 2004-11-29  Mark Kettenis  <kettenis@gnu.org>
 
+	* config/sparc/nbsdaout.mh (NAT_FILE): Set to solib.h.
+	* config/sparc/nbsdelf.mh (NAT_FILE): Remove variable.
+	* config/sparc/nm-nbsd.h: Remove file.
+	* config/sparc/nm-nbsdaout.h: Remove file.
+
 	* sparc-nat.c (inf_ptrace_xfer_partial): New variable.
 	(sparc_xfer_partial): New function.
 	(sparc_target): Save value of to_xfer_partial from ptrace vector.
diff --git a/gdb/config/sparc/nbsdaout.mh b/gdb/config/sparc/nbsdaout.mh
index cd0067d2088..bcfbbb388a0 100644
--- a/gdb/config/sparc/nbsdaout.mh
+++ b/gdb/config/sparc/nbsdaout.mh
@@ -1,6 +1,6 @@
 # Host: NetBSD/sparc a.out
 NATDEPFILES= fork-child.o inf-ptrace.o \
 	sparc-nat.o sparcnbsd-nat.o bsd-kvm.o solib-sunos.o
-NAT_FILE= nm-nbsd.h
+NAT_FILE= solib.h
 
 LOADLIBES= -lkvm
diff --git a/gdb/config/sparc/nbsdelf.mh b/gdb/config/sparc/nbsdelf.mh
index d258fccd514..6bf898ff603 100644
--- a/gdb/config/sparc/nbsdelf.mh
+++ b/gdb/config/sparc/nbsdelf.mh
@@ -1,6 +1,5 @@
 # Host: NetBSD/sparc ELF
 NATDEPFILES= fork-child.o inf-ptrace.o \
 	sparc-nat.o sparcnbsd-nat.o bsd-kvm.o
-NAT_FILE= nm-nbsd.h
 
 LOADLIBES= -lkvm
diff --git a/gdb/config/sparc/nm-nbsd.h b/gdb/config/sparc/nm-nbsd.h
deleted file mode 100644
index c64f505c63d..00000000000
--- a/gdb/config/sparc/nm-nbsd.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/* Native-dependent definitions for NetBSD/sparc.
-
-   Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1999, 2000, 2002,
-   2003, 2004 Free Software Foundation, Inc.
-
-   This file is part of GDB.
-
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330,
-   Boston, MA 02111-1307, USA.  */
-
-#ifndef NM_NBSD_H
-#define NM_NBSD_H
-
-/* Get generic NetBSD native definitions.  */
-#include "config/nm-nbsd.h"
-
-
-/* Support for StackGhost cookies.  */
-
-#include "target.h"
-struct target_ops;	/* Fool ARI.  */
-
-#define NATIVE_XFER_WCOOKIE sparc_xfer_wcookie
-extern LONGEST sparc_xfer_wcookie (struct target_ops *ops,
-				   enum target_object object,
-				   const char *annex,
-				   void *readbuf, const void *writebuf,
-				   ULONGEST offset, LONGEST len);
-
-#endif /* nm-nbsd.h */
diff --git a/gdb/config/sparc/nm-nbsdaout.h b/gdb/config/sparc/nm-nbsdaout.h
deleted file mode 100644
index 9e463f9b503..00000000000
--- a/gdb/config/sparc/nm-nbsdaout.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/* Native-dependent definitions for NetBSD/sparc a.out.
-
-   Copyright 1999, 2003 Free Software Foundation, Inc.
-
-   This file is part of GDB.
-
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330,
-   Boston, MA 02111-1307, USA.  */
-
-#ifndef NM_NBSDAOUT_H
-#define NM_NBSDAOUT_H
-
-#include "sparc/nm-nbsd.h"
-
-/* Get generic NetBSD a.out native definitions.  */
-#include "config/nm-nbsdaout.h"
-
-#endif /* nm-nbsdaout.h */
-- 
GitLab