[PATCH] gdb: Fix installation of gcore.1 on some platforms

Michael Forney mforney@mforney.org
Tue Oct 6 20:43:49 GMT 2020


gcore is installed on NetBSD, FreeBSD, Solaris (HAVE_NATIVE_GCORE_HOST=1)
and Linux (HAVE_NATIVE_GCORE_TARGET=1). However, even though gcore.1
is installed conditional on those variables, HAVE_NATIVE_GCORE_HOST
was missing from gdb/doc/Makefile.in, so manual installation was
skipped on NetBSD, FreeBSD, and Solaris.

gdb/doc/ChangeLog:
2020-10-06  Michael Forney  <mforney@mforney.org>

        * Makefile.in (HAVE_NATIVE_GCORE_HOST): Add for gcore.1
        install condition.
---
 gdb/doc/Makefile.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in
index 65b5eaa91e..3d10dee1bd 100644
--- a/gdb/doc/Makefile.in
+++ b/gdb/doc/Makefile.in
@@ -180,6 +180,7 @@ MAN5S = gdbinit.5
 MANS = $(MAN1S) $(MAN5S)
 
 HAVE_NATIVE_GCORE_TARGET = @HAVE_NATIVE_GCORE_TARGET@
+HAVE_NATIVE_GCORE_HOST = @HAVE_NATIVE_GCORE_HOST@
 
 ###
 
-- 
2.28.0



More information about the Gdb-patches mailing list