gdb: Fix installation of gcore.1 on some platforms

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.

Change-Id: I17c3ce2ecdfb806ece17f05ba78356b25ffa865e
This commit is contained in:
Michael Forney 2020-10-06 17:12:57 -04:00 committed by Simon Marchi
parent 8ab0be1717
commit 4b136f6f9a
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2020-10-06 Michael Forney <mforney@mforney.org>
* Makefile.in (HAVE_NATIVE_GCORE_HOST): Add for gcore.1
install condition.
2020-10-04 Simon Marchi <simon.marchi@polymtl.ca>
* gdb.texinfo (Debugging Output): Add set/show debug event-loop.

View File

@ -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@
###