[Bug build/24575] New: gdbserver.1 should only be installed if gdbserver was build

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Fri May 17 15:34:00 GMT 2019


https://sourceware.org/bugzilla/show_bug.cgi?id=24575

            Bug ID: 24575
           Summary: gdbserver.1 should only be installed if gdbserver was
                    build
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

If a platform does not support gcore, then installing of gcore.1 is skipped:
...
install-man1: $(MAN1S)
        test -z "$(man1dir)" || $(mkinstalldirs) "$(DESTDIR)$(man1dir)"
        @list='$(MAN1S)'; for p in $$list; do \
          if test "x$(HAVE_NATIVE_GCORE_TARGET)$(HAVE_NATIVE_GCORE_HOST)" = x \
                  -a "$$p" = gcore.1; then \
            continue; \
          fi; \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          f=`echo $$p | sed -e 's|^.*/||' -e '$(transform)'`; \
          echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(man1dir)/$$f'"; \
          $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(man1dir)/$$f"; \
        done

...

Likewise, if a platform does not support gdbserver, of if gdbserver is disabled
using configure option --disable-gdbserver, then installing of gdbserver.1
should be disabled.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list