diff mbox

Remove empty nm-fbsd.h header for FreeBSD/i386 native target.

Message ID 20181221204436.42245-1-jhb@FreeBSD.org
State New
Headers show

Commit Message

John Baldwin Dec. 21, 2018, 8:44 p.m. UTC
gdb/ChangeLog:

	* config/i386/nm-fbsd.h: Remove file.
	* Makefile.in (HFILES_NO_SRCDIR): Remove config/i386/nm-fbsd.h.
	* configure.nat: Remove NAT_FILE for FreeBSD/i386.
---
 gdb/ChangeLog             |  6 ++++++
 gdb/Makefile.in           |  1 -
 gdb/config/i386/nm-fbsd.h | 23 -----------------------
 gdb/configure.nat         |  1 -
 4 files changed, 6 insertions(+), 25 deletions(-)
 delete mode 100644 gdb/config/i386/nm-fbsd.h

Comments

Simon Marchi Dec. 23, 2018, 2:17 p.m. UTC | #1
On 2018-12-21 15:44, John Baldwin wrote:
> gdb/ChangeLog:
> 
> 	* config/i386/nm-fbsd.h: Remove file.
> 	* Makefile.in (HFILES_NO_SRCDIR): Remove config/i386/nm-fbsd.h.
> 	* configure.nat: Remove NAT_FILE for FreeBSD/i386.
> ---
>  gdb/ChangeLog             |  6 ++++++
>  gdb/Makefile.in           |  1 -
>  gdb/config/i386/nm-fbsd.h | 23 -----------------------
>  gdb/configure.nat         |  1 -
>  4 files changed, 6 insertions(+), 25 deletions(-)
>  delete mode 100644 gdb/config/i386/nm-fbsd.h
> 
> diff --git a/gdb/ChangeLog b/gdb/ChangeLog
> index 4fcd2ebf4f..06fec0551f 100644
> --- a/gdb/ChangeLog
> +++ b/gdb/ChangeLog
> @@ -1,3 +1,9 @@
> +2018-12-21  John Baldwin  <jhb@FreeBSD.org>
> +
> +	* config/i386/nm-fbsd.h: Remove file.
> +	* Makefile.in (HFILES_NO_SRCDIR): Remove config/i386/nm-fbsd.h.
> +	* configure.nat: Remove NAT_FILE for FreeBSD/i386.
> +
>  2018-12-21  John Baldwin  <jhb@FreeBSD.org>
> 
>  	* fbsd-nat.c (fbsd_handle_debug_trap): Require pl.pl_flags to
> diff --git a/gdb/Makefile.in b/gdb/Makefile.in
> index a2cf02e1a9..90b0a728ed 100644
> --- a/gdb/Makefile.in
> +++ b/gdb/Makefile.in
> @@ -1477,7 +1477,6 @@ HFILES_NO_SRCDIR = \
>  	config/nm-nto.h \
>  	config/djgpp/langinfo.h \
>  	config/djgpp/nl_types.h \
> -	config/i386/nm-fbsd.h \
>  	config/i386/nm-i386gnu.h \
>  	config/sparc/nm-sol2.h \
>  	gnulib/import/inttypes.in.h \
> diff --git a/gdb/config/i386/nm-fbsd.h b/gdb/config/i386/nm-fbsd.h
> deleted file mode 100644
> index b26b33674f..0000000000
> --- a/gdb/config/i386/nm-fbsd.h
> +++ /dev/null
> @@ -1,23 +0,0 @@
> -/* Native-dependent definitions for FreeBSD/i386.
> -
> -   Copyright (C) 1986-2018 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 3 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, see 
> <http://www.gnu.org/licenses/>.  */
> -
> -#ifndef NM_FBSD_H
> -#define NM_FBSD_H
> -
> -#endif /* nm-fbsd.h */
> diff --git a/gdb/configure.nat b/gdb/configure.nat
> index 200b716924..7bba7f446b 100644
> --- a/gdb/configure.nat
> +++ b/gdb/configure.nat
> @@ -165,7 +165,6 @@ case ${gdb_host} in
>  		# Host: FreeBSD/i386
>  		NATDEPFILES="${NATDEPFILES} x86-nat.o x86-dregs.o \
>  		x86-bsd-nat.o i386-bsd-nat.o i386-fbsd-nat.o bsd-kvm.o"
> -		NAT_FILE='nm-fbsd.h'
>  		;;
>  	    mips)
>  		# Host: FreeBSD/mips

Thanks, this LGTM.

Simon
diff mbox

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4fcd2ebf4f..06fec0551f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@ 
+2018-12-21  John Baldwin  <jhb@FreeBSD.org>
+
+	* config/i386/nm-fbsd.h: Remove file.
+	* Makefile.in (HFILES_NO_SRCDIR): Remove config/i386/nm-fbsd.h.
+	* configure.nat: Remove NAT_FILE for FreeBSD/i386.
+
 2018-12-21  John Baldwin  <jhb@FreeBSD.org>
 
 	* fbsd-nat.c (fbsd_handle_debug_trap): Require pl.pl_flags to
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index a2cf02e1a9..90b0a728ed 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1477,7 +1477,6 @@  HFILES_NO_SRCDIR = \
 	config/nm-nto.h \
 	config/djgpp/langinfo.h \
 	config/djgpp/nl_types.h \
-	config/i386/nm-fbsd.h \
 	config/i386/nm-i386gnu.h \
 	config/sparc/nm-sol2.h \
 	gnulib/import/inttypes.in.h \
diff --git a/gdb/config/i386/nm-fbsd.h b/gdb/config/i386/nm-fbsd.h
deleted file mode 100644
index b26b33674f..0000000000
--- a/gdb/config/i386/nm-fbsd.h
+++ /dev/null
@@ -1,23 +0,0 @@ 
-/* Native-dependent definitions for FreeBSD/i386.
-
-   Copyright (C) 1986-2018 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 3 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, see <http://www.gnu.org/licenses/>.  */
-
-#ifndef NM_FBSD_H
-#define NM_FBSD_H
-
-#endif /* nm-fbsd.h */
diff --git a/gdb/configure.nat b/gdb/configure.nat
index 200b716924..7bba7f446b 100644
--- a/gdb/configure.nat
+++ b/gdb/configure.nat
@@ -165,7 +165,6 @@  case ${gdb_host} in
 		# Host: FreeBSD/i386
 		NATDEPFILES="${NATDEPFILES} x86-nat.o x86-dregs.o \
 		x86-bsd-nat.o i386-bsd-nat.o i386-fbsd-nat.o bsd-kvm.o"
-		NAT_FILE='nm-fbsd.h'
 		;;
 	    mips)
 		# Host: FreeBSD/mips