Move gdbsupport to the top level
This patch moves the gdbsupport directory to the top level. This is the next step in the ongoing project to move gdbserver to the top level. The bulk of this patch was created by "git mv gdb/gdbsupport gdbsupport". This patch then adds a build system to gdbsupport and wires it into the top level. Then it changes gdb to use the top-level build. gdbserver, on the other hand, is not yet changed. It still does its own build of gdbsupport. ChangeLog 2020-01-14 Tom Tromey <tom@tromey.com> * src-release.sh (GDB_SUPPORT_DIRS): Add gdbsupport. * MAINTAINERS: Add gdbsupport. * configure: Rebuild. * configure.ac (configdirs): Add gdbsupport. * gdbsupport: New directory, move from gdb/gdbsupport. * Makefile.def (host_modules, dependencies): Add gnulib. * Makefile.in: Rebuild. gdb/ChangeLog 2020-01-14 Tom Tromey <tom@tromey.com> * nat/x86-linux-dregs.c: Include configh.h. * nat/linux-ptrace.c: Include configh.h. * nat/linux-btrace.c: Include configh.h. * defs.h: Include config.h, bfd.h. * configure.ac: Don't source common.host. (CONFIG_OBS, CONFIG_SRCS): Remove gdbsupport files. * configure: Rebuild. * acinclude.m4: Update path. * Makefile.in (SUPPORT, LIBSUPPORT, INCSUPPORT): New variables. (CONFIG_SRC_SUBDIR): Remove gdbsupport. (INTERNAL_CFLAGS_BASE): Add INCSUPPORT. (CLIBS): Add LIBSUPPORT. (CDEPS): Likewise. (COMMON_SFILES): Remove gdbsupport files. (HFILES_NO_SRCDIR): Likewise. (stamp-version): Update path to create-version.sh. (ALLDEPFILES): Remove gdbsupport files. gdb/gdbserver/ChangeLog 2020-01-14 Tom Tromey <tom@tromey.com> * server.h: Include config.h. * gdbreplay.c: Include config.h. * configure: Rebuild. * configure.ac: Don't source common.host. * acinclude.m4: Update path. * Makefile.in (INCSUPPORT): New variable. (INCLUDE_CFLAGS): Add INCSUPPORT. (SFILES): Update paths. (version-generated.c): Update path to create-version.sh. (gdbsupport/%-ipa.o, gdbsupport/%.o): Update paths. gdbsupport/ChangeLog 2020-01-14 Tom Tromey <tom@tromey.com> * common-defs.h: Add GDBSERVER case. Update includes. * acinclude.m4, aclocal.m4, config.in, configure, configure.ac, Makefile.am, Makefile.in, README: New files. * Moved from ../gdb/gdbsupport/ Change-Id: I07632e7798635c1bab389bf885971e584fb4bb78
This commit is contained in:
parent
b2ceabe8f0
commit
01027315f5
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2020-01-14 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* src-release.sh (GDB_SUPPORT_DIRS): Add gdbsupport.
|
||||
* MAINTAINERS: Add gdbsupport.
|
||||
* configure: Rebuild.
|
||||
* configure.ac (configdirs): Add gdbsupport.
|
||||
* gdbsupport: New directory, move from gdb/gdbsupport.
|
||||
* Makefile.def (host_modules, dependencies): Add gnulib.
|
||||
* Makefile.in: Rebuild.
|
||||
|
||||
2020-01-09 Aaron Merey <amerey@redhat.com>
|
||||
|
||||
* config/debuginfod.m4: New file. Add macro AC_DEBUGINFOD. Adds
|
||||
|
@ -41,7 +41,7 @@ config.guess; config.sub; readline/support/config.{sub,guess}
|
||||
depcomp; mkinstalldirs
|
||||
Send bug reports and patches to bug-automake@gnu.org.
|
||||
|
||||
gdb/; gnulib/; readline/; sim/; GDB's part of include/
|
||||
gdb/; gdbsupport/; gnulib/; readline/; sim/; GDB's part of include/
|
||||
GDB: http://www.gnu.org/software/gdb/
|
||||
Patches to gdb-patches@sourceware.org.
|
||||
See also gdb/MAINTAINERS and sim/MAINTAINERS.
|
||||
|
@ -113,6 +113,7 @@ host_modules= { module= zlib; no_install=true; no_check=true;
|
||||
bootstrap=true;
|
||||
extra_configure_flags='@extra_host_zlib_configure_flags@';};
|
||||
host_modules= { module= gnulib; };
|
||||
host_modules= { module= gdbsupport; };
|
||||
host_modules= { module= gdb; };
|
||||
host_modules= { module= expect; };
|
||||
host_modules= { module= guile; };
|
||||
@ -392,12 +393,14 @@ dependencies = { module=configure-gdb; on=all-intl; };
|
||||
dependencies = { module=configure-gdb; on=configure-sim; };
|
||||
dependencies = { module=configure-gdb; on=all-bfd; };
|
||||
dependencies = { module=configure-gdb; on=all-gnulib; };
|
||||
dependencies = { module=configure-gdb; on=all-gdbsupport; };
|
||||
// Depend on all-libiconv so that configure checks for iconv
|
||||
// functions will work.
|
||||
dependencies = { module=configure-gdb; on=all-libiconv; };
|
||||
dependencies = { module=all-gdb; on=all-libiberty; };
|
||||
dependencies = { module=all-gdb; on=all-libiconv; };
|
||||
dependencies = { module=all-gdb; on=all-gnulib; };
|
||||
dependencies = { module=all-gdb; on=all-gdbsupport; };
|
||||
dependencies = { module=all-gdb; on=all-opcodes; };
|
||||
dependencies = { module=all-gdb; on=all-readline; };
|
||||
dependencies = { module=all-gdb; on=all-build-bison; };
|
||||
@ -412,6 +415,10 @@ dependencies = { module=all-libgui; on=all-tcl; };
|
||||
dependencies = { module=all-libgui; on=all-tk; };
|
||||
dependencies = { module=all-libgui; on=all-itcl; };
|
||||
|
||||
dependencies = { module=configure-gdbsupport; on=configure-bfd; };
|
||||
dependencies = { module=configure-gdbsupport; on=configure-gnulib; };
|
||||
dependencies = { module=all-gdbsupport; on=all-gnulib; };
|
||||
|
||||
// Host modules specific to binutils.
|
||||
dependencies = { module=configure-bfd; on=configure-libiberty; hard=true; };
|
||||
dependencies = { module=configure-bfd; on=configure-intl; };
|
||||
|
466
Makefile.in
466
Makefile.in
@ -943,6 +943,7 @@ configure-host: \
|
||||
maybe-configure-texinfo \
|
||||
maybe-configure-zlib \
|
||||
maybe-configure-gnulib \
|
||||
maybe-configure-gdbsupport \
|
||||
maybe-configure-gdb \
|
||||
maybe-configure-expect \
|
||||
maybe-configure-guile \
|
||||
@ -1097,6 +1098,7 @@ all-host: maybe-all-texinfo
|
||||
all-host: maybe-all-zlib
|
||||
@endif zlib-no-bootstrap
|
||||
all-host: maybe-all-gnulib
|
||||
all-host: maybe-all-gdbsupport
|
||||
all-host: maybe-all-gdb
|
||||
all-host: maybe-all-expect
|
||||
all-host: maybe-all-guile
|
||||
@ -1205,6 +1207,7 @@ info-host: maybe-info-sim
|
||||
info-host: maybe-info-texinfo
|
||||
info-host: maybe-info-zlib
|
||||
info-host: maybe-info-gnulib
|
||||
info-host: maybe-info-gdbsupport
|
||||
info-host: maybe-info-gdb
|
||||
info-host: maybe-info-expect
|
||||
info-host: maybe-info-guile
|
||||
@ -1292,6 +1295,7 @@ dvi-host: maybe-dvi-sim
|
||||
dvi-host: maybe-dvi-texinfo
|
||||
dvi-host: maybe-dvi-zlib
|
||||
dvi-host: maybe-dvi-gnulib
|
||||
dvi-host: maybe-dvi-gdbsupport
|
||||
dvi-host: maybe-dvi-gdb
|
||||
dvi-host: maybe-dvi-expect
|
||||
dvi-host: maybe-dvi-guile
|
||||
@ -1379,6 +1383,7 @@ pdf-host: maybe-pdf-sim
|
||||
pdf-host: maybe-pdf-texinfo
|
||||
pdf-host: maybe-pdf-zlib
|
||||
pdf-host: maybe-pdf-gnulib
|
||||
pdf-host: maybe-pdf-gdbsupport
|
||||
pdf-host: maybe-pdf-gdb
|
||||
pdf-host: maybe-pdf-expect
|
||||
pdf-host: maybe-pdf-guile
|
||||
@ -1466,6 +1471,7 @@ html-host: maybe-html-sim
|
||||
html-host: maybe-html-texinfo
|
||||
html-host: maybe-html-zlib
|
||||
html-host: maybe-html-gnulib
|
||||
html-host: maybe-html-gdbsupport
|
||||
html-host: maybe-html-gdb
|
||||
html-host: maybe-html-expect
|
||||
html-host: maybe-html-guile
|
||||
@ -1553,6 +1559,7 @@ TAGS-host: maybe-TAGS-sim
|
||||
TAGS-host: maybe-TAGS-texinfo
|
||||
TAGS-host: maybe-TAGS-zlib
|
||||
TAGS-host: maybe-TAGS-gnulib
|
||||
TAGS-host: maybe-TAGS-gdbsupport
|
||||
TAGS-host: maybe-TAGS-gdb
|
||||
TAGS-host: maybe-TAGS-expect
|
||||
TAGS-host: maybe-TAGS-guile
|
||||
@ -1640,6 +1647,7 @@ install-info-host: maybe-install-info-sim
|
||||
install-info-host: maybe-install-info-texinfo
|
||||
install-info-host: maybe-install-info-zlib
|
||||
install-info-host: maybe-install-info-gnulib
|
||||
install-info-host: maybe-install-info-gdbsupport
|
||||
install-info-host: maybe-install-info-gdb
|
||||
install-info-host: maybe-install-info-expect
|
||||
install-info-host: maybe-install-info-guile
|
||||
@ -1727,6 +1735,7 @@ install-pdf-host: maybe-install-pdf-sim
|
||||
install-pdf-host: maybe-install-pdf-texinfo
|
||||
install-pdf-host: maybe-install-pdf-zlib
|
||||
install-pdf-host: maybe-install-pdf-gnulib
|
||||
install-pdf-host: maybe-install-pdf-gdbsupport
|
||||
install-pdf-host: maybe-install-pdf-gdb
|
||||
install-pdf-host: maybe-install-pdf-expect
|
||||
install-pdf-host: maybe-install-pdf-guile
|
||||
@ -1814,6 +1823,7 @@ install-html-host: maybe-install-html-sim
|
||||
install-html-host: maybe-install-html-texinfo
|
||||
install-html-host: maybe-install-html-zlib
|
||||
install-html-host: maybe-install-html-gnulib
|
||||
install-html-host: maybe-install-html-gdbsupport
|
||||
install-html-host: maybe-install-html-gdb
|
||||
install-html-host: maybe-install-html-expect
|
||||
install-html-host: maybe-install-html-guile
|
||||
@ -1901,6 +1911,7 @@ installcheck-host: maybe-installcheck-sim
|
||||
installcheck-host: maybe-installcheck-texinfo
|
||||
installcheck-host: maybe-installcheck-zlib
|
||||
installcheck-host: maybe-installcheck-gnulib
|
||||
installcheck-host: maybe-installcheck-gdbsupport
|
||||
installcheck-host: maybe-installcheck-gdb
|
||||
installcheck-host: maybe-installcheck-expect
|
||||
installcheck-host: maybe-installcheck-guile
|
||||
@ -1988,6 +1999,7 @@ mostlyclean-host: maybe-mostlyclean-sim
|
||||
mostlyclean-host: maybe-mostlyclean-texinfo
|
||||
mostlyclean-host: maybe-mostlyclean-zlib
|
||||
mostlyclean-host: maybe-mostlyclean-gnulib
|
||||
mostlyclean-host: maybe-mostlyclean-gdbsupport
|
||||
mostlyclean-host: maybe-mostlyclean-gdb
|
||||
mostlyclean-host: maybe-mostlyclean-expect
|
||||
mostlyclean-host: maybe-mostlyclean-guile
|
||||
@ -2075,6 +2087,7 @@ clean-host: maybe-clean-sim
|
||||
clean-host: maybe-clean-texinfo
|
||||
clean-host: maybe-clean-zlib
|
||||
clean-host: maybe-clean-gnulib
|
||||
clean-host: maybe-clean-gdbsupport
|
||||
clean-host: maybe-clean-gdb
|
||||
clean-host: maybe-clean-expect
|
||||
clean-host: maybe-clean-guile
|
||||
@ -2162,6 +2175,7 @@ distclean-host: maybe-distclean-sim
|
||||
distclean-host: maybe-distclean-texinfo
|
||||
distclean-host: maybe-distclean-zlib
|
||||
distclean-host: maybe-distclean-gnulib
|
||||
distclean-host: maybe-distclean-gdbsupport
|
||||
distclean-host: maybe-distclean-gdb
|
||||
distclean-host: maybe-distclean-expect
|
||||
distclean-host: maybe-distclean-guile
|
||||
@ -2249,6 +2263,7 @@ maintainer-clean-host: maybe-maintainer-clean-sim
|
||||
maintainer-clean-host: maybe-maintainer-clean-texinfo
|
||||
maintainer-clean-host: maybe-maintainer-clean-zlib
|
||||
maintainer-clean-host: maybe-maintainer-clean-gnulib
|
||||
maintainer-clean-host: maybe-maintainer-clean-gdbsupport
|
||||
maintainer-clean-host: maybe-maintainer-clean-gdb
|
||||
maintainer-clean-host: maybe-maintainer-clean-expect
|
||||
maintainer-clean-host: maybe-maintainer-clean-guile
|
||||
@ -2392,6 +2407,7 @@ check-host: \
|
||||
maybe-check-texinfo \
|
||||
maybe-check-zlib \
|
||||
maybe-check-gnulib \
|
||||
maybe-check-gdbsupport \
|
||||
maybe-check-gdb \
|
||||
maybe-check-expect \
|
||||
maybe-check-guile \
|
||||
@ -2526,6 +2542,7 @@ install-host-nogcc: \
|
||||
maybe-install-texinfo \
|
||||
maybe-install-zlib \
|
||||
maybe-install-gnulib \
|
||||
maybe-install-gdbsupport \
|
||||
maybe-install-gdb \
|
||||
maybe-install-expect \
|
||||
maybe-install-guile \
|
||||
@ -2577,6 +2594,7 @@ install-host: \
|
||||
maybe-install-texinfo \
|
||||
maybe-install-zlib \
|
||||
maybe-install-gnulib \
|
||||
maybe-install-gdbsupport \
|
||||
maybe-install-gdb \
|
||||
maybe-install-expect \
|
||||
maybe-install-guile \
|
||||
@ -2684,6 +2702,7 @@ install-strip-host: \
|
||||
maybe-install-strip-texinfo \
|
||||
maybe-install-strip-zlib \
|
||||
maybe-install-strip-gnulib \
|
||||
maybe-install-strip-gdbsupport \
|
||||
maybe-install-strip-gdb \
|
||||
maybe-install-strip-expect \
|
||||
maybe-install-strip-guile \
|
||||
@ -28545,6 +28564,447 @@ maintainer-clean-gnulib:
|
||||
|
||||
|
||||
|
||||
.PHONY: configure-gdbsupport maybe-configure-gdbsupport
|
||||
maybe-configure-gdbsupport:
|
||||
@if gcc-bootstrap
|
||||
configure-gdbsupport: stage_current
|
||||
@endif gcc-bootstrap
|
||||
@if gdbsupport
|
||||
maybe-configure-gdbsupport: configure-gdbsupport
|
||||
configure-gdbsupport:
|
||||
@: $(MAKE); $(unstage)
|
||||
@r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
test ! -f $(HOST_SUBDIR)/gdbsupport/Makefile || exit 0; \
|
||||
$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdbsupport; \
|
||||
$(HOST_EXPORTS) \
|
||||
echo Configuring in $(HOST_SUBDIR)/gdbsupport; \
|
||||
cd "$(HOST_SUBDIR)/gdbsupport" || exit 1; \
|
||||
case $(srcdir) in \
|
||||
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
|
||||
*) topdir=`echo $(HOST_SUBDIR)/gdbsupport/ | \
|
||||
sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
|
||||
esac; \
|
||||
module_srcdir=gdbsupport; \
|
||||
$(SHELL) \
|
||||
$$s/$$module_srcdir/configure \
|
||||
--srcdir=$${topdir}/$$module_srcdir \
|
||||
$(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
|
||||
--target=${target_alias} \
|
||||
|| exit 1
|
||||
@endif gdbsupport
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.PHONY: all-gdbsupport maybe-all-gdbsupport
|
||||
maybe-all-gdbsupport:
|
||||
@if gcc-bootstrap
|
||||
all-gdbsupport: stage_current
|
||||
@endif gcc-bootstrap
|
||||
@if gdbsupport
|
||||
TARGET-gdbsupport=all
|
||||
maybe-all-gdbsupport: all-gdbsupport
|
||||
all-gdbsupport: configure-gdbsupport
|
||||
@: $(MAKE); $(unstage)
|
||||
@r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
|
||||
$(TARGET-gdbsupport))
|
||||
@endif gdbsupport
|
||||
|
||||
|
||||
|
||||
|
||||
.PHONY: check-gdbsupport maybe-check-gdbsupport
|
||||
maybe-check-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-check-gdbsupport: check-gdbsupport
|
||||
|
||||
check-gdbsupport:
|
||||
@: $(MAKE); $(unstage)
|
||||
@r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(FLAGS_TO_PASS) check)
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
.PHONY: install-gdbsupport maybe-install-gdbsupport
|
||||
maybe-install-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-install-gdbsupport: install-gdbsupport
|
||||
|
||||
install-gdbsupport: installdirs
|
||||
@: $(MAKE); $(unstage)
|
||||
@r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(FLAGS_TO_PASS) install)
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
.PHONY: install-strip-gdbsupport maybe-install-strip-gdbsupport
|
||||
maybe-install-strip-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-install-strip-gdbsupport: install-strip-gdbsupport
|
||||
|
||||
install-strip-gdbsupport: installdirs
|
||||
@: $(MAKE); $(unstage)
|
||||
@r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(FLAGS_TO_PASS) install-strip)
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
# Other targets (info, dvi, pdf, etc.)
|
||||
|
||||
.PHONY: maybe-info-gdbsupport info-gdbsupport
|
||||
maybe-info-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-info-gdbsupport: info-gdbsupport
|
||||
|
||||
info-gdbsupport: \
|
||||
configure-gdbsupport
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f ./gdbsupport/Makefile ] || exit 0; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
for flag in $(EXTRA_HOST_FLAGS) ; do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
echo "Doing info in gdbsupport"; \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
|
||||
info) \
|
||||
|| exit 1
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
.PHONY: maybe-dvi-gdbsupport dvi-gdbsupport
|
||||
maybe-dvi-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-dvi-gdbsupport: dvi-gdbsupport
|
||||
|
||||
dvi-gdbsupport: \
|
||||
configure-gdbsupport
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f ./gdbsupport/Makefile ] || exit 0; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
for flag in $(EXTRA_HOST_FLAGS) ; do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
echo "Doing dvi in gdbsupport"; \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
|
||||
dvi) \
|
||||
|| exit 1
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
.PHONY: maybe-pdf-gdbsupport pdf-gdbsupport
|
||||
maybe-pdf-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-pdf-gdbsupport: pdf-gdbsupport
|
||||
|
||||
pdf-gdbsupport: \
|
||||
configure-gdbsupport
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f ./gdbsupport/Makefile ] || exit 0; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
for flag in $(EXTRA_HOST_FLAGS) ; do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
echo "Doing pdf in gdbsupport"; \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
|
||||
pdf) \
|
||||
|| exit 1
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
.PHONY: maybe-html-gdbsupport html-gdbsupport
|
||||
maybe-html-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-html-gdbsupport: html-gdbsupport
|
||||
|
||||
html-gdbsupport: \
|
||||
configure-gdbsupport
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f ./gdbsupport/Makefile ] || exit 0; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
for flag in $(EXTRA_HOST_FLAGS) ; do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
echo "Doing html in gdbsupport"; \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
|
||||
html) \
|
||||
|| exit 1
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
.PHONY: maybe-TAGS-gdbsupport TAGS-gdbsupport
|
||||
maybe-TAGS-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-TAGS-gdbsupport: TAGS-gdbsupport
|
||||
|
||||
TAGS-gdbsupport: \
|
||||
configure-gdbsupport
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f ./gdbsupport/Makefile ] || exit 0; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
for flag in $(EXTRA_HOST_FLAGS) ; do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
echo "Doing TAGS in gdbsupport"; \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
|
||||
TAGS) \
|
||||
|| exit 1
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
.PHONY: maybe-install-info-gdbsupport install-info-gdbsupport
|
||||
maybe-install-info-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-install-info-gdbsupport: install-info-gdbsupport
|
||||
|
||||
install-info-gdbsupport: \
|
||||
configure-gdbsupport \
|
||||
info-gdbsupport
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f ./gdbsupport/Makefile ] || exit 0; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
for flag in $(EXTRA_HOST_FLAGS) ; do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
echo "Doing install-info in gdbsupport"; \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
|
||||
install-info) \
|
||||
|| exit 1
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
.PHONY: maybe-install-pdf-gdbsupport install-pdf-gdbsupport
|
||||
maybe-install-pdf-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-install-pdf-gdbsupport: install-pdf-gdbsupport
|
||||
|
||||
install-pdf-gdbsupport: \
|
||||
configure-gdbsupport \
|
||||
pdf-gdbsupport
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f ./gdbsupport/Makefile ] || exit 0; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
for flag in $(EXTRA_HOST_FLAGS) ; do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
echo "Doing install-pdf in gdbsupport"; \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
|
||||
install-pdf) \
|
||||
|| exit 1
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
.PHONY: maybe-install-html-gdbsupport install-html-gdbsupport
|
||||
maybe-install-html-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-install-html-gdbsupport: install-html-gdbsupport
|
||||
|
||||
install-html-gdbsupport: \
|
||||
configure-gdbsupport \
|
||||
html-gdbsupport
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f ./gdbsupport/Makefile ] || exit 0; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
for flag in $(EXTRA_HOST_FLAGS) ; do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
echo "Doing install-html in gdbsupport"; \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
|
||||
install-html) \
|
||||
|| exit 1
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
.PHONY: maybe-installcheck-gdbsupport installcheck-gdbsupport
|
||||
maybe-installcheck-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-installcheck-gdbsupport: installcheck-gdbsupport
|
||||
|
||||
installcheck-gdbsupport: \
|
||||
configure-gdbsupport
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f ./gdbsupport/Makefile ] || exit 0; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
for flag in $(EXTRA_HOST_FLAGS) ; do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
echo "Doing installcheck in gdbsupport"; \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
|
||||
installcheck) \
|
||||
|| exit 1
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
.PHONY: maybe-mostlyclean-gdbsupport mostlyclean-gdbsupport
|
||||
maybe-mostlyclean-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-mostlyclean-gdbsupport: mostlyclean-gdbsupport
|
||||
|
||||
mostlyclean-gdbsupport:
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f ./gdbsupport/Makefile ] || exit 0; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
for flag in $(EXTRA_HOST_FLAGS) ; do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
echo "Doing mostlyclean in gdbsupport"; \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
|
||||
mostlyclean) \
|
||||
|| exit 1
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
.PHONY: maybe-clean-gdbsupport clean-gdbsupport
|
||||
maybe-clean-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-clean-gdbsupport: clean-gdbsupport
|
||||
|
||||
clean-gdbsupport:
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f ./gdbsupport/Makefile ] || exit 0; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
for flag in $(EXTRA_HOST_FLAGS) ; do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
echo "Doing clean in gdbsupport"; \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
|
||||
clean) \
|
||||
|| exit 1
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
.PHONY: maybe-distclean-gdbsupport distclean-gdbsupport
|
||||
maybe-distclean-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-distclean-gdbsupport: distclean-gdbsupport
|
||||
|
||||
distclean-gdbsupport:
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f ./gdbsupport/Makefile ] || exit 0; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
for flag in $(EXTRA_HOST_FLAGS) ; do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
echo "Doing distclean in gdbsupport"; \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
|
||||
distclean) \
|
||||
|| exit 1
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
.PHONY: maybe-maintainer-clean-gdbsupport maintainer-clean-gdbsupport
|
||||
maybe-maintainer-clean-gdbsupport:
|
||||
@if gdbsupport
|
||||
maybe-maintainer-clean-gdbsupport: maintainer-clean-gdbsupport
|
||||
|
||||
maintainer-clean-gdbsupport:
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f ./gdbsupport/Makefile ] || exit 0; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(HOST_EXPORTS) \
|
||||
for flag in $(EXTRA_HOST_FLAGS) ; do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
echo "Doing maintainer-clean in gdbsupport"; \
|
||||
(cd $(HOST_SUBDIR)/gdbsupport && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
|
||||
maintainer-clean) \
|
||||
|| exit 1
|
||||
|
||||
@endif gdbsupport
|
||||
|
||||
|
||||
|
||||
.PHONY: configure-gdb maybe-configure-gdb
|
||||
maybe-configure-gdb:
|
||||
@if gcc-bootstrap
|
||||
@ -51049,7 +51509,9 @@ all-stageprofile-intl: maybe-all-stageprofile-libiconv
|
||||
all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
|
||||
configure-gdb: maybe-configure-sim
|
||||
configure-gdb: maybe-all-gnulib
|
||||
configure-gdb: maybe-all-gdbsupport
|
||||
all-gdb: maybe-all-gnulib
|
||||
all-gdb: maybe-all-gdbsupport
|
||||
all-gdb: maybe-all-readline
|
||||
all-gdb: maybe-all-build-bison
|
||||
all-gdb: maybe-all-sim
|
||||
@ -51059,6 +51521,8 @@ configure-libgui: maybe-configure-tk
|
||||
all-libgui: maybe-all-tcl
|
||||
all-libgui: maybe-all-tk
|
||||
all-libgui: maybe-all-itcl
|
||||
configure-gdbsupport: maybe-configure-gnulib
|
||||
all-gdbsupport: maybe-all-gnulib
|
||||
configure-bfd: configure-libiberty
|
||||
configure-stage1-bfd: configure-stage1-libiberty
|
||||
configure-stage2-bfd: configure-stage2-libiberty
|
||||
@ -51503,6 +51967,7 @@ configure-gnattools: stage_last
|
||||
configure-libcc1: stage_last
|
||||
configure-utils: stage_last
|
||||
configure-gdb: stage_last
|
||||
configure-gdbsupport: stage_last
|
||||
configure-gprof: stage_last
|
||||
configure-sid: stage_last
|
||||
configure-sim: stage_last
|
||||
@ -51525,6 +51990,7 @@ all-gdb: maybe-all-libiconv
|
||||
all-gdb: maybe-all-opcodes
|
||||
all-gdb: maybe-all-libdecnumber
|
||||
all-gdb: maybe-all-libctf
|
||||
configure-gdbsupport: maybe-configure-bfd
|
||||
configure-gprof: maybe-configure-intl
|
||||
all-gprof: maybe-all-libiberty
|
||||
all-gprof: maybe-all-bfd
|
||||
|
10
configure
vendored
10
configure
vendored
@ -7341,12 +7341,12 @@ esac
|
||||
CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
|
||||
INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
|
||||
|
||||
# gdb depends on gnulib, but as nothing else does, only include it if
|
||||
# gdb is built.
|
||||
# gdb depends on gnulib and gdbsupport, but as nothing else does, only
|
||||
# include them if gdb is built.
|
||||
if echo " ${configdirs} " | grep " gdb " > /dev/null 2>&1 ; then
|
||||
# The Makefile provides the ordering, so it's enough here to add
|
||||
# gnulib to the list.
|
||||
configdirs="${configdirs} gnulib"
|
||||
# The Makefile provides the ordering, so it's enough here to add to
|
||||
# the list.
|
||||
configdirs="${configdirs} gnulib gdbsupport"
|
||||
fi
|
||||
|
||||
# Strip out unwanted targets.
|
||||
|
10
configure.ac
10
configure.ac
@ -2730,12 +2730,12 @@ esac
|
||||
CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
|
||||
INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
|
||||
|
||||
# gdb depends on gnulib, but as nothing else does, only include it if
|
||||
# gdb is built.
|
||||
# gdb depends on gnulib and gdbsupport, but as nothing else does, only
|
||||
# include them if gdb is built.
|
||||
if echo " ${configdirs} " | grep " gdb " > /dev/null 2>&1 ; then
|
||||
# The Makefile provides the ordering, so it's enough here to add
|
||||
# gnulib to the list.
|
||||
configdirs="${configdirs} gnulib"
|
||||
# The Makefile provides the ordering, so it's enough here to add to
|
||||
# the list.
|
||||
configdirs="${configdirs} gnulib gdbsupport"
|
||||
fi
|
||||
|
||||
# Strip out unwanted targets.
|
||||
|
@ -1,3 +1,23 @@
|
||||
2020-01-14 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* nat/x86-linux-dregs.c: Include configh.h.
|
||||
* nat/linux-ptrace.c: Include configh.h.
|
||||
* nat/linux-btrace.c: Include configh.h.
|
||||
* defs.h: Include config.h, bfd.h.
|
||||
* configure.ac: Don't source common.host.
|
||||
(CONFIG_OBS, CONFIG_SRCS): Remove gdbsupport files.
|
||||
* configure: Rebuild.
|
||||
* acinclude.m4: Update path.
|
||||
* Makefile.in (SUPPORT, LIBSUPPORT, INCSUPPORT): New variables.
|
||||
(CONFIG_SRC_SUBDIR): Remove gdbsupport.
|
||||
(INTERNAL_CFLAGS_BASE): Add INCSUPPORT.
|
||||
(CLIBS): Add LIBSUPPORT.
|
||||
(CDEPS): Likewise.
|
||||
(COMMON_SFILES): Remove gdbsupport files.
|
||||
(HFILES_NO_SRCDIR): Likewise.
|
||||
(stamp-version): Update path to create-version.sh.
|
||||
(ALLDEPFILES): Remove gdbsupport files.
|
||||
|
||||
2020-01-14 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* gdbsupport/common.m4 (GDB_AC_COMMON): Define WIN32APILIBS and
|
||||
|
@ -238,6 +238,10 @@ GNULIB_BUILDDIR = ../gnulib
|
||||
LIBGNU = $(GNULIB_BUILDDIR)/import/libgnu.a
|
||||
INCGNU = -I$(srcdir)/../gnulib/import -I$(GNULIB_BUILDDIR)/import
|
||||
|
||||
SUPPORT = ../gdbsupport
|
||||
LIBSUPPORT = $(SUPPORT)/libgdbsupport.a
|
||||
INCSUPPORT = -I$(srcdir)/.. -I..
|
||||
|
||||
#
|
||||
# CLI sub directory definitons
|
||||
#
|
||||
@ -547,7 +551,7 @@ CONFIG_INSTALL = @CONFIG_INSTALL@
|
||||
CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
|
||||
HAVE_NATIVE_GCORE_TARGET = @HAVE_NATIVE_GCORE_TARGET@
|
||||
|
||||
CONFIG_SRC_SUBDIR = arch cli mi gdbsupport compile tui unittests guile python \
|
||||
CONFIG_SRC_SUBDIR = arch cli mi compile tui unittests guile python \
|
||||
target nat
|
||||
CONFIG_DEP_SUBDIR = $(addsuffix /$(DEPDIR),$(CONFIG_SRC_SUBDIR))
|
||||
|
||||
@ -586,8 +590,8 @@ INTERNAL_CFLAGS_BASE = \
|
||||
$(CXXFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
|
||||
$(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) $(ZLIBINC) \
|
||||
$(BFD_CFLAGS) $(INCLUDE_CFLAGS) $(LIBDECNUMBER_CFLAGS) \
|
||||
$(INTL_CFLAGS) $(INCGNU) $(ENABLE_CFLAGS) $(INTERNAL_CPPFLAGS) \
|
||||
$(SRCHIGH_CFLAGS) $(TOP_CFLAGS) $(PTHREAD_CFLAGS)
|
||||
$(INTL_CFLAGS) $(INCGNU) $(INCSUPPORT) $(ENABLE_CFLAGS) \
|
||||
$(INTERNAL_CPPFLAGS) $(SRCHIGH_CFLAGS) $(TOP_CFLAGS) $(PTHREAD_CFLAGS)
|
||||
INTERNAL_WARN_CFLAGS = $(INTERNAL_CFLAGS_BASE) $(GDB_WARN_CFLAGS)
|
||||
INTERNAL_CFLAGS = $(INTERNAL_WARN_CFLAGS) $(GDB_WERROR_CFLAGS)
|
||||
|
||||
@ -607,14 +611,15 @@ INTERNAL_LDFLAGS = \
|
||||
# XM_CLIBS, defined in *config files, have host-dependent libs.
|
||||
# LIBIBERTY appears twice on purpose.
|
||||
CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(LIBCTF) $(ZLIB) \
|
||||
$(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \
|
||||
$(LIBSUPPORT) $(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \
|
||||
$(XM_CLIBS) $(GDBTKLIBS) \
|
||||
@LIBS@ @GUILE_LIBS@ @PYTHON_LIBS@ \
|
||||
$(LIBEXPAT) $(LIBLZMA) $(LIBBABELTRACE) $(LIBIPT) \
|
||||
$(LIBIBERTY) $(WIN32LIBS) $(LIBGNU) $(LIBICONV) $(LIBMPFR) \
|
||||
$(SRCHIGH_LIBS) $(LIBXXHASH) $(PTHREAD_LIBS)
|
||||
$(LIBIBERTY) $(WIN32LIBS) $(LIBGNU) $(LIBICONV) \
|
||||
$(LIBMPFR) $(SRCHIGH_LIBS) $(LIBXXHASH) $(PTHREAD_LIBS)
|
||||
CDEPS = $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) $(LIBCTF) \
|
||||
$(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU)
|
||||
$(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU) \
|
||||
$(LIBSUPPORT)
|
||||
|
||||
DIST = gdb
|
||||
|
||||
@ -968,39 +973,6 @@ COMMON_SFILES = \
|
||||
cli-out.c \
|
||||
coff-pe-read.c \
|
||||
coffread.c \
|
||||
gdbsupport/agent.c \
|
||||
gdbsupport/btrace-common.c \
|
||||
gdbsupport/buffer.c \
|
||||
gdbsupport/cleanups.c \
|
||||
gdbsupport/common-debug.c \
|
||||
gdbsupport/common-exceptions.c \
|
||||
gdbsupport/common-inferior.c \
|
||||
gdbsupport/common-regcache.c \
|
||||
gdbsupport/common-utils.c \
|
||||
gdbsupport/errors.c \
|
||||
gdbsupport/environ.c \
|
||||
gdbsupport/fileio.c \
|
||||
gdbsupport/filestuff.c \
|
||||
gdbsupport/format.c \
|
||||
gdbsupport/job-control.c \
|
||||
gdbsupport/gdb-dlfcn.c \
|
||||
gdbsupport/gdb_tilde_expand.c \
|
||||
gdbsupport/gdb_vecs.c \
|
||||
gdbsupport/gdb_wait.c \
|
||||
gdbsupport/netstuff.c \
|
||||
gdbsupport/new-op.c \
|
||||
gdbsupport/pathstuff.c \
|
||||
gdbsupport/print-utils.c \
|
||||
gdbsupport/ptid.c \
|
||||
gdbsupport/rsp-low.c \
|
||||
gdbsupport/run-time-clock.c \
|
||||
gdbsupport/safe-strerror.c \
|
||||
gdbsupport/scoped_mmap.c \
|
||||
gdbsupport/signals.c \
|
||||
gdbsupport/signals-state-save-restore.c \
|
||||
gdbsupport/tdesc.c \
|
||||
gdbsupport/thread-pool.c \
|
||||
gdbsupport/xml-utils.c \
|
||||
complaints.c \
|
||||
completer.c \
|
||||
continuations.c \
|
||||
@ -1468,49 +1440,6 @@ HFILES_NO_SRCDIR = \
|
||||
cli/cli-setshow.h \
|
||||
cli/cli-style.h \
|
||||
cli/cli-utils.h \
|
||||
gdbsupport/buffer.h \
|
||||
gdbsupport/cleanups.h \
|
||||
gdbsupport/common-debug.h \
|
||||
gdbsupport/common-defs.h \
|
||||
gdbsupport/common-exceptions.h \
|
||||
gdbsupport/common-gdbthread.h \
|
||||
gdbsupport/common-regcache.h \
|
||||
gdbsupport/common-types.h \
|
||||
gdbsupport/common-utils.h \
|
||||
gdbsupport/job-control.h \
|
||||
gdbsupport/errors.h \
|
||||
gdbsupport/environ.h \
|
||||
gdbsupport/fileio.h \
|
||||
gdbsupport/format.h \
|
||||
gdbsupport/gdb-dlfcn.h \
|
||||
gdbsupport/gdb-sigmask.h \
|
||||
gdbsupport/gdb_assert.h \
|
||||
gdbsupport/gdb_binary_search.h \
|
||||
gdbsupport/gdb_tilde_expand.h \
|
||||
gdbsupport/gdb_locale.h \
|
||||
gdbsupport/gdb_proc_service.h \
|
||||
gdbsupport/gdb_setjmp.h \
|
||||
gdbsupport/gdb_signals.h \
|
||||
gdbsupport/gdb_sys_time.h \
|
||||
gdbsupport/gdb_vecs.h \
|
||||
gdbsupport/gdb_wait.h \
|
||||
gdbsupport/common-inferior.h \
|
||||
gdbsupport/netstuff.h \
|
||||
gdbsupport/host-defs.h \
|
||||
gdbsupport/parallel-for.h \
|
||||
gdbsupport/pathstuff.h \
|
||||
gdbsupport/print-utils.h \
|
||||
gdbsupport/ptid.h \
|
||||
gdbsupport/queue.h \
|
||||
gdbsupport/rsp-low.h \
|
||||
gdbsupport/run-time-clock.h \
|
||||
gdbsupport/signals-state-save-restore.h \
|
||||
gdbsupport/symbol.h \
|
||||
gdbsupport/tdesc.h \
|
||||
gdbsupport/thread-pool.h \
|
||||
gdbsupport/version.h \
|
||||
gdbsupport/x86-xstate.h \
|
||||
gdbsupport/xml-utils.h \
|
||||
compile/compile.h \
|
||||
compile/compile-c.h \
|
||||
compile/compile-cplus.h \
|
||||
@ -2131,8 +2060,8 @@ $(srcdir)/copying.c: @MAINTAINER_MODE_TRUE@ $(srcdir)/../COPYING3 $(srcdir)/copy
|
||||
version.c: stamp-version; @true
|
||||
# Note that the obvious names for the temp file are taken by
|
||||
# create-version.sh.
|
||||
stamp-version: Makefile version.in $(srcdir)/../bfd/version.h $(srcdir)/gdbsupport/create-version.sh
|
||||
$(ECHO_GEN) $(SHELL) $(srcdir)/gdbsupport/create-version.sh $(srcdir) \
|
||||
stamp-version: Makefile version.in $(srcdir)/../bfd/version.h $(srcdir)/../gdbsupport/create-version.sh
|
||||
$(ECHO_GEN) $(SHELL) $(srcdir)/../gdbsupport/create-version.sh $(srcdir) \
|
||||
$(host_alias) $(target_alias) version-t.t
|
||||
@$(SHELL) $(srcdir)/../move-if-change version-t.t version.c
|
||||
@echo stamp > stamp-version
|
||||
|
@ -63,7 +63,7 @@ m4_include([../config/iconv.m4])
|
||||
|
||||
m4_include([../config/zlib.m4])
|
||||
|
||||
m4_include([gdbsupport/common.m4])
|
||||
m4_include([../gdbsupport/common.m4])
|
||||
|
||||
dnl For libiberty_INIT.
|
||||
m4_include(libiberty.m4)
|
||||
|
4
gdb/configure
vendored
4
gdb/configure
vendored
@ -18984,8 +18984,8 @@ if $enable_unittests; then
|
||||
$as_echo "#define GDB_SELF_TEST 1" >>confdefs.h
|
||||
|
||||
|
||||
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS) gdbsupport/selftest.o selftest-arch.o"
|
||||
CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS) gdbsupport/selftest.c selftest-arch.c"
|
||||
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS) selftest-arch.o"
|
||||
CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS) selftest-arch.c"
|
||||
|
||||
fi
|
||||
|
||||
|
@ -2215,8 +2215,8 @@ AC_DEFINE(GDB_DEFAULT_HOST_CHARSET, "UTF-8",
|
||||
[Define to be a string naming the default host character set.])
|
||||
|
||||
GDB_AC_SELFTEST([
|
||||
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS) gdbsupport/selftest.o selftest-arch.o"
|
||||
CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS) gdbsupport/selftest.c selftest-arch.c"
|
||||
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_UNITTESTS_OBS) selftest-arch.o"
|
||||
CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_UNITTESTS_SRCS) selftest-arch.c"
|
||||
])
|
||||
|
||||
GDB_AC_TRANSFORM([gdb], [GDB_TRANSFORM_NAME])
|
||||
|
@ -27,6 +27,15 @@
|
||||
|
||||
#include "gdbsupport/common-defs.h"
|
||||
|
||||
#undef PACKAGE
|
||||
#undef PACKAGE_NAME
|
||||
#undef PACKAGE_VERSION
|
||||
#undef PACKAGE_STRING
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
#include <config.h>
|
||||
#include "bfd.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <limits.h>
|
||||
|
||||
|
@ -1,3 +1,16 @@
|
||||
2020-01-14 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* server.h: Include config.h.
|
||||
* gdbreplay.c: Include config.h.
|
||||
* configure: Rebuild.
|
||||
* configure.ac: Don't source common.host.
|
||||
* acinclude.m4: Update path.
|
||||
* Makefile.in (INCSUPPORT): New variable.
|
||||
(INCLUDE_CFLAGS): Add INCSUPPORT.
|
||||
(SFILES): Update paths.
|
||||
(version-generated.c): Update path to create-version.sh.
|
||||
(gdbsupport/%-ipa.o, gdbsupport/%.o): Update paths.
|
||||
|
||||
2020-01-14 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* configure.ac (LIBS): Use WIN32APILIBS.
|
||||
|
@ -109,6 +109,8 @@ INCGNU = -I$(srcdir)/../../gnulib/import -I$(GNULIB_BUILDDIR)/import
|
||||
# so that they are generated before other files are compiled.
|
||||
GNULIB_H = $(GNULIB_BUILDDIR)/import/string.h @GNULIB_STDINT_H@
|
||||
|
||||
INCSUPPORT = -I$(srcdir)/../.. -I../..
|
||||
|
||||
# All the includes used for CFLAGS and for lint.
|
||||
# -I. for config files.
|
||||
# -I${srcdir} for our headers.
|
||||
@ -120,7 +122,7 @@ GNULIB_H = $(GNULIB_BUILDDIR)/import/string.h @GNULIB_STDINT_H@
|
||||
#
|
||||
INCLUDE_CFLAGS = -I. -I${srcdir} \
|
||||
-I$(srcdir)/../regformats -I$(srcdir)/.. -I$(INCLUDE_DIR) \
|
||||
$(INCGNU)
|
||||
$(INCGNU) $(INCSUPPORT)
|
||||
|
||||
# M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS
|
||||
# from the config/ directory.
|
||||
@ -201,32 +203,32 @@ SFILES = \
|
||||
$(srcdir)/arch/arm-linux.c \
|
||||
$(srcdir)/arch/ppc-linux-common.c \
|
||||
$(srcdir)/../alloc.c \
|
||||
$(srcdir)/gdbsupport/btrace-common.c \
|
||||
$(srcdir)/gdbsupport/buffer.c \
|
||||
$(srcdir)/gdbsupport/cleanups.c \
|
||||
$(srcdir)/gdbsupport/common-debug.c \
|
||||
$(srcdir)/gdbsupport/common-exceptions.c \
|
||||
$(srcdir)/gdbsupport/common-inferior.c \
|
||||
$(srcdir)/gdbsupport/common-regcache.c \
|
||||
$(srcdir)/gdbsupport/common-utils.c \
|
||||
$(srcdir)/gdbsupport/errors.c \
|
||||
$(srcdir)/gdbsupport/environ.c \
|
||||
$(srcdir)/gdbsupport/fileio.c \
|
||||
$(srcdir)/gdbsupport/filestuff.c \
|
||||
$(srcdir)/gdbsupport/job-control.c \
|
||||
$(srcdir)/gdbsupport/gdb-dlfcn.c \
|
||||
$(srcdir)/gdbsupport/gdb_tilde_expand.c \
|
||||
$(srcdir)/gdbsupport/gdb_vecs.c \
|
||||
$(srcdir)/gdbsupport/gdb_wait.c \
|
||||
$(srcdir)/gdbsupport/netstuff.c \
|
||||
$(srcdir)/gdbsupport/new-op.c \
|
||||
$(srcdir)/gdbsupport/pathstuff.c \
|
||||
$(srcdir)/gdbsupport/print-utils.c \
|
||||
$(srcdir)/gdbsupport/ptid.c \
|
||||
$(srcdir)/gdbsupport/rsp-low.c \
|
||||
$(srcdir)/gdbsupport/safe-strerror.c \
|
||||
$(srcdir)/gdbsupport/tdesc.c \
|
||||
$(srcdir)/gdbsupport/xml-utils.c \
|
||||
$(srcdir)/../../gdbsupport/btrace-common.c \
|
||||
$(srcdir)/../../gdbsupport/buffer.c \
|
||||
$(srcdir)/../../gdbsupport/cleanups.c \
|
||||
$(srcdir)/../../gdbsupport/common-debug.c \
|
||||
$(srcdir)/../../gdbsupport/common-exceptions.c \
|
||||
$(srcdir)/../../gdbsupport/common-inferior.c \
|
||||
$(srcdir)/../../gdbsupport/common-regcache.c \
|
||||
$(srcdir)/../../gdbsupport/common-utils.c \
|
||||
$(srcdir)/../../gdbsupport/errors.c \
|
||||
$(srcdir)/../../gdbsupport/environ.c \
|
||||
$(srcdir)/../../gdbsupport/fileio.c \
|
||||
$(srcdir)/../../gdbsupport/filestuff.c \
|
||||
$(srcdir)/../../gdbsupport/job-control.c \
|
||||
$(srcdir)/../../gdbsupport/gdb-dlfcn.c \
|
||||
$(srcdir)/../../gdbsupport/gdb_tilde_expand.c \
|
||||
$(srcdir)/../../gdbsupport/gdb_vecs.c \
|
||||
$(srcdir)/../../gdbsupport/gdb_wait.c \
|
||||
$(srcdir)/../../gdbsupport/netstuff.c \
|
||||
$(srcdir)/../../gdbsupport/new-op.c \
|
||||
$(srcdir)/../../gdbsupport/pathstuff.c \
|
||||
$(srcdir)/../../gdbsupport/print-utils.c \
|
||||
$(srcdir)/../../gdbsupport/ptid.c \
|
||||
$(srcdir)/../../gdbsupport/rsp-low.c \
|
||||
$(srcdir)/../../gdbsupport/safe-strerror.c \
|
||||
$(srcdir)/../../gdbsupport/tdesc.c \
|
||||
$(srcdir)/../../gdbsupport/xml-utils.c \
|
||||
$(srcdir)/nat/aarch64-sve-linux-ptrace.c \
|
||||
$(srcdir)/nat/linux-btrace.c \
|
||||
$(srcdir)/nat/linux-namespaces.c \
|
||||
@ -529,8 +531,8 @@ am--refresh:
|
||||
|
||||
force:
|
||||
|
||||
version-generated.c: Makefile $(srcdir)/../version.in $(srcdir)/../../bfd/version.h $(srcdir)/../gdbsupport/create-version.sh
|
||||
$(ECHO_GEN) $(SHELL) $(srcdir)/../gdbsupport/create-version.sh $(srcdir)/.. \
|
||||
version-generated.c: Makefile $(srcdir)/../version.in $(srcdir)/../../bfd/version.h $(srcdir)/../../gdbsupport/create-version.sh
|
||||
$(ECHO_GEN) $(SHELL) $(srcdir)/../../gdbsupport/create-version.sh $(srcdir)/.. \
|
||||
$(host_alias) $(target_alias) $@
|
||||
|
||||
xml-builtin-generated.c: stamp-xml; @true
|
||||
@ -588,7 +590,7 @@ arch/%-ipa.o: ../arch/%.c
|
||||
$(IPAGENT_COMPILE) $<
|
||||
$(POSTCOMPILE)
|
||||
|
||||
gdbsupport/%-ipa.o: ../gdbsupport/%.c
|
||||
gdbsupport/%-ipa.o: ../../gdbsupport/%.c
|
||||
$(IPAGENT_COMPILE) $<
|
||||
$(POSTCOMPILE)
|
||||
|
||||
@ -621,7 +623,7 @@ arch/%.o: ../arch/%.c
|
||||
$(COMPILE) $<
|
||||
$(POSTCOMPILE)
|
||||
|
||||
gdbsupport/%.o: ../gdbsupport/%.c
|
||||
gdbsupport/%.o: ../../gdbsupport/%.c
|
||||
$(COMPILE) $<
|
||||
$(POSTCOMPILE)
|
||||
|
||||
|
@ -18,7 +18,7 @@ m4_include(../../config/lead-dot.m4)
|
||||
dnl codeset.m4 is needed for common.m4, but not for
|
||||
dnl anything else in gdbserver.
|
||||
m4_include(../../config/codeset.m4)
|
||||
m4_include(../gdbsupport/common.m4)
|
||||
m4_include(../../gdbsupport/common.m4)
|
||||
|
||||
dnl For libiberty_INIT.
|
||||
m4_include(../libiberty.m4)
|
||||
|
@ -18,6 +18,14 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "gdbsupport/common-defs.h"
|
||||
|
||||
#undef PACKAGE
|
||||
#undef PACKAGE_NAME
|
||||
#undef PACKAGE_VERSION
|
||||
#undef PACKAGE_STRING
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
#include <config.h>
|
||||
#include "gdbsupport/version.h"
|
||||
|
||||
#if HAVE_SYS_FILE_H
|
||||
|
@ -21,6 +21,14 @@
|
||||
|
||||
#include "gdbsupport/common-defs.h"
|
||||
|
||||
#undef PACKAGE
|
||||
#undef PACKAGE_NAME
|
||||
#undef PACKAGE_VERSION
|
||||
#undef PACKAGE_STRING
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
#include <config.h>
|
||||
|
||||
gdb_static_assert (sizeof (CORE_ADDR) >= sizeof (void *));
|
||||
|
||||
#ifdef __MINGW32CE__
|
||||
|
@ -20,6 +20,14 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "gdbsupport/common-defs.h"
|
||||
|
||||
#undef PACKAGE
|
||||
#undef PACKAGE_NAME
|
||||
#undef PACKAGE_VERSION
|
||||
#undef PACKAGE_STRING
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
#include <config.h>
|
||||
#include "linux-btrace.h"
|
||||
#include "gdbsupport/common-regcache.h"
|
||||
#include "gdbsupport/gdb_wait.h"
|
||||
|
@ -17,6 +17,14 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "gdbsupport/common-defs.h"
|
||||
|
||||
#undef PACKAGE
|
||||
#undef PACKAGE_NAME
|
||||
#undef PACKAGE_VERSION
|
||||
#undef PACKAGE_STRING
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
#include <config.h>
|
||||
#include "linux-ptrace.h"
|
||||
#include "linux-procfs.h"
|
||||
#include "linux-waitpid.h"
|
||||
|
@ -18,6 +18,14 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "gdbsupport/common-defs.h"
|
||||
|
||||
#undef PACKAGE
|
||||
#undef PACKAGE_NAME
|
||||
#undef PACKAGE_VERSION
|
||||
#undef PACKAGE_STRING
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
#include <config.h>
|
||||
#include "nat/gdb_ptrace.h"
|
||||
#include <sys/user.h>
|
||||
#include "target/waitstatus.h"
|
||||
|
7
gdbsupport/ChangeLog
Normal file
7
gdbsupport/ChangeLog
Normal file
@ -0,0 +1,7 @@
|
||||
2020-01-14 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* common-defs.h: Add GDBSERVER case. Update includes.
|
||||
* acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
|
||||
Makefile.am, Makefile.in, README: New files.
|
||||
* Moved from ../gdb/gdbsupport/
|
||||
|
70
gdbsupport/Makefile.am
Normal file
70
gdbsupport/Makefile.am
Normal file
@ -0,0 +1,70 @@
|
||||
## Process this file with automake to generate Makefile.in
|
||||
#
|
||||
# Copyright (C) 2020 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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; see the file COPYING3. If not see
|
||||
# <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
AUTOMAKE_OPTIONS = no-dist foreign
|
||||
ACLOCAL_AMFLAGS = -I . -I ../config
|
||||
|
||||
AM_CPPFLAGS = -I$(srcdir)/../include -I$(srcdir)/../gdb \
|
||||
-I../gnulib/import -I$(srcdir)/../gnulib/import \
|
||||
-I.. -I$(srcdir)/.. $(INCINTL) -I../bfd -I$(srcdir)/../bfd
|
||||
|
||||
override CC := $(CXX)
|
||||
override CFLAGS := $(CXXFLAGS)
|
||||
|
||||
noinst_LIBRARIES = libgdbsupport.a
|
||||
|
||||
if SELFTEST
|
||||
selftest = selftest.c
|
||||
endif
|
||||
|
||||
libgdbsupport_a_SOURCES = \
|
||||
agent.c \
|
||||
btrace-common.c \
|
||||
buffer.c \
|
||||
cleanups.c \
|
||||
common-debug.c \
|
||||
common-exceptions.c \
|
||||
common-inferior.c \
|
||||
common-regcache.c \
|
||||
common-utils.c \
|
||||
environ.c \
|
||||
errors.c \
|
||||
fileio.c \
|
||||
filestuff.c \
|
||||
format.c \
|
||||
gdb-dlfcn.c \
|
||||
gdb_tilde_expand.c \
|
||||
gdb_wait.c \
|
||||
gdb_vecs.c \
|
||||
job-control.c \
|
||||
netstuff.c \
|
||||
new-op.c \
|
||||
pathstuff.c \
|
||||
print-utils.c \
|
||||
ptid.c \
|
||||
rsp-low.c \
|
||||
run-time-clock.c \
|
||||
safe-strerror.c \
|
||||
scoped_mmap.c \
|
||||
signals.c \
|
||||
signals-state-save-restore.c \
|
||||
tdesc.c \
|
||||
thread-pool.c \
|
||||
xml-utils.c \
|
||||
$(selftest)
|
688
gdbsupport/Makefile.in
Normal file
688
gdbsupport/Makefile.in
Normal file
@ -0,0 +1,688 @@
|
||||
# Makefile.in generated by automake 1.15.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2017 Free Software Foundation, Inc.
|
||||
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
#
|
||||
# Copyright (C) 2020 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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; see the file COPYING3. If not see
|
||||
# <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
VPATH = @srcdir@
|
||||
am__is_gnu_make = { \
|
||||
if test -z '$(MAKELEVEL)'; then \
|
||||
false; \
|
||||
elif test -n '$(MAKE_HOST)'; then \
|
||||
true; \
|
||||
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||
true; \
|
||||
else \
|
||||
false; \
|
||||
fi; \
|
||||
}
|
||||
am__make_running_with_option = \
|
||||
case $${target_option-} in \
|
||||
?) ;; \
|
||||
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||
"target option '$${target_option-}' specified" >&2; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
has_opt=no; \
|
||||
sane_makeflags=$$MAKEFLAGS; \
|
||||
if $(am__is_gnu_make); then \
|
||||
sane_makeflags=$$MFLAGS; \
|
||||
else \
|
||||
case $$MAKEFLAGS in \
|
||||
*\\[\ \ ]*) \
|
||||
bs=\\; \
|
||||
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||
esac; \
|
||||
fi; \
|
||||
skip_next=no; \
|
||||
strip_trailopt () \
|
||||
{ \
|
||||
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||
}; \
|
||||
for flg in $$sane_makeflags; do \
|
||||
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||
case $$flg in \
|
||||
*=*|--*) continue;; \
|
||||
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||
-*I?*) strip_trailopt 'I';; \
|
||||
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||
-*O?*) strip_trailopt 'O';; \
|
||||
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||
-*l?*) strip_trailopt 'l';; \
|
||||
-[dEDm]) skip_next=yes;; \
|
||||
-[JT]) skip_next=yes;; \
|
||||
esac; \
|
||||
case $$flg in \
|
||||
*$$target_option*) has_opt=yes; break;; \
|
||||
esac; \
|
||||
done; \
|
||||
test $$has_opt = yes
|
||||
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
target_triplet = @target@
|
||||
subdir = .
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/../config/codeset.m4 \
|
||||
$(top_srcdir)/../config/depstand.m4 \
|
||||
$(top_srcdir)/../config/gettext-sister.m4 \
|
||||
$(top_srcdir)/../config/largefile.m4 \
|
||||
$(top_srcdir)/../config/lead-dot.m4 \
|
||||
$(top_srcdir)/../config/override.m4 \
|
||||
$(top_srcdir)/../config/plugins.m4 $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/common.m4 $(top_srcdir)/../config/ax_pthread.m4 \
|
||||
$(top_srcdir)/../gdb/ax_cxx_compile_stdcxx.m4 \
|
||||
$(top_srcdir)/../gdb/libiberty.m4 \
|
||||
$(top_srcdir)/../gdb/selftest.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
|
||||
$(am__configure_deps)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
configure.lineno config.status.lineno
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
||||
CONFIG_HEADER = support-config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
LIBRARIES = $(noinst_LIBRARIES)
|
||||
AR = ar
|
||||
ARFLAGS = cru
|
||||
AM_V_AR = $(am__v_AR_@AM_V@)
|
||||
am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
|
||||
am__v_AR_0 = @echo " AR " $@;
|
||||
am__v_AR_1 =
|
||||
libgdbsupport_a_AR = $(AR) $(ARFLAGS)
|
||||
libgdbsupport_a_LIBADD =
|
||||
@SELFTEST_TRUE@am__objects_1 = selftest.$(OBJEXT)
|
||||
am_libgdbsupport_a_OBJECTS = agent.$(OBJEXT) btrace-common.$(OBJEXT) \
|
||||
buffer.$(OBJEXT) cleanups.$(OBJEXT) common-debug.$(OBJEXT) \
|
||||
common-exceptions.$(OBJEXT) common-inferior.$(OBJEXT) \
|
||||
common-regcache.$(OBJEXT) common-utils.$(OBJEXT) \
|
||||
environ.$(OBJEXT) errors.$(OBJEXT) fileio.$(OBJEXT) \
|
||||
filestuff.$(OBJEXT) format.$(OBJEXT) gdb-dlfcn.$(OBJEXT) \
|
||||
gdb_tilde_expand.$(OBJEXT) gdb_wait.$(OBJEXT) \
|
||||
gdb_vecs.$(OBJEXT) job-control.$(OBJEXT) netstuff.$(OBJEXT) \
|
||||
new-op.$(OBJEXT) pathstuff.$(OBJEXT) print-utils.$(OBJEXT) \
|
||||
ptid.$(OBJEXT) rsp-low.$(OBJEXT) run-time-clock.$(OBJEXT) \
|
||||
safe-strerror.$(OBJEXT) scoped_mmap.$(OBJEXT) \
|
||||
signals.$(OBJEXT) signals-state-save-restore.$(OBJEXT) \
|
||||
tdesc.$(OBJEXT) thread-pool.$(OBJEXT) xml-utils.$(OBJEXT) \
|
||||
$(am__objects_1)
|
||||
libgdbsupport_a_OBJECTS = $(am_libgdbsupport_a_OBJECTS)
|
||||
AM_V_P = $(am__v_P_@AM_V@)
|
||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||
am__v_P_0 = false
|
||||
am__v_P_1 = :
|
||||
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
am__v_GEN_1 =
|
||||
AM_V_at = $(am__v_at_@AM_V@)
|
||||
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||
am__v_at_0 = @
|
||||
am__v_at_1 =
|
||||
DEFAULT_INCLUDES = -I.@am__isrc@
|
||||
depcomp = $(SHELL) $(top_srcdir)/../depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
am__mv = mv -f
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
AM_V_CC = $(am__v_CC_@AM_V@)
|
||||
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
|
||||
am__v_CC_0 = @echo " CC " $@;
|
||||
am__v_CC_1 =
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
|
||||
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
|
||||
am__v_CCLD_0 = @echo " CCLD " $@;
|
||||
am__v_CCLD_1 =
|
||||
SOURCES = $(libgdbsupport_a_SOURCES)
|
||||
am__can_run_installinfo = \
|
||||
case $$AM_UPDATE_INFO_DIR in \
|
||||
n|no|NO) false;; \
|
||||
*) (install-info --version) >/dev/null 2>&1;; \
|
||||
esac
|
||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
|
||||
$(LISP)config.in
|
||||
# Read a list of newline-separated strings from the standard input,
|
||||
# and print each of them once, without duplicates. Input order is
|
||||
# *not* preserved.
|
||||
am__uniquify_input = $(AWK) '\
|
||||
BEGIN { nonempty = 0; } \
|
||||
{ items[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in items) print i; }; } \
|
||||
'
|
||||
# Make sure the list of sources is unique. This is necessary because,
|
||||
# e.g., the same source file might be shared among _SOURCES variables
|
||||
# for different programs/libraries.
|
||||
am__define_uniq_tagged_files = \
|
||||
list='$(am__tagged_files)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | $(am__uniquify_input)`
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
CSCOPE = cscope
|
||||
AM_RECURSIVE_TARGETS = cscope
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ALLOCA = @ALLOCA@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CXX_DIALECT = @CXX_DIALECT@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
GENCAT = @GENCAT@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GREP = @GREP@
|
||||
HAVE_CXX11 = @HAVE_CXX11@
|
||||
INCINTL = @INCINTL@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBINTL = @LIBINTL@
|
||||
LIBINTL_DEP = @LIBINTL_DEP@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
POSUB = @POSUB@
|
||||
PTHREAD_CC = @PTHREAD_CC@
|
||||
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
|
||||
PTHREAD_LIBS = @PTHREAD_LIBS@
|
||||
RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
ax_pthread_config = @ax_pthread_config@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
AUTOMAKE_OPTIONS = no-dist foreign
|
||||
ACLOCAL_AMFLAGS = -I . -I ../config
|
||||
AM_CPPFLAGS = -I$(srcdir)/../include -I$(srcdir)/../gdb \
|
||||
-I../gnulib/import -I$(srcdir)/../gnulib/import \
|
||||
-I.. -I$(srcdir)/.. $(INCINTL) -I../bfd -I$(srcdir)/../bfd
|
||||
|
||||
noinst_LIBRARIES = libgdbsupport.a
|
||||
@SELFTEST_TRUE@selftest = selftest.c
|
||||
libgdbsupport_a_SOURCES = \
|
||||
agent.c \
|
||||
btrace-common.c \
|
||||
buffer.c \
|
||||
cleanups.c \
|
||||
common-debug.c \
|
||||
common-exceptions.c \
|
||||
common-inferior.c \
|
||||
common-regcache.c \
|
||||
common-utils.c \
|
||||
environ.c \
|
||||
errors.c \
|
||||
fileio.c \
|
||||
filestuff.c \
|
||||
format.c \
|
||||
gdb-dlfcn.c \
|
||||
gdb_tilde_expand.c \
|
||||
gdb_wait.c \
|
||||
gdb_vecs.c \
|
||||
job-control.c \
|
||||
netstuff.c \
|
||||
new-op.c \
|
||||
pathstuff.c \
|
||||
print-utils.c \
|
||||
ptid.c \
|
||||
rsp-low.c \
|
||||
run-time-clock.c \
|
||||
safe-strerror.c \
|
||||
scoped_mmap.c \
|
||||
signals.c \
|
||||
signals-state-save-restore.c \
|
||||
tdesc.c \
|
||||
thread-pool.c \
|
||||
xml-utils.c \
|
||||
$(selftest)
|
||||
|
||||
all: support-config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .obj
|
||||
am--refresh: Makefile
|
||||
@:
|
||||
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
|
||||
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
echo ' $(SHELL) ./config.status'; \
|
||||
$(SHELL) ./config.status;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
||||
$(am__cd) $(srcdir) && $(AUTOCONF)
|
||||
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
||||
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
support-config.h: stamp-h1
|
||||
@test -f $@ || rm -f stamp-h1
|
||||
@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
|
||||
|
||||
stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
|
||||
@rm -f stamp-h1
|
||||
cd $(top_builddir) && $(SHELL) ./config.status support-config.h
|
||||
$(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
||||
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
|
||||
rm -f stamp-h1
|
||||
touch $@
|
||||
|
||||
distclean-hdr:
|
||||
-rm -f support-config.h stamp-h1
|
||||
|
||||
clean-noinstLIBRARIES:
|
||||
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
||||
|
||||
libgdbsupport.a: $(libgdbsupport_a_OBJECTS) $(libgdbsupport_a_DEPENDENCIES) $(EXTRA_libgdbsupport_a_DEPENDENCIES)
|
||||
$(AM_V_at)-rm -f libgdbsupport.a
|
||||
$(AM_V_AR)$(libgdbsupport_a_AR) libgdbsupport.a $(libgdbsupport_a_OBJECTS) $(libgdbsupport_a_LIBADD)
|
||||
$(AM_V_at)$(RANLIB) libgdbsupport.a
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/agent.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/btrace-common.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/buffer.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cleanups.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common-debug.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common-exceptions.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common-inferior.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common-regcache.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common-utils.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/environ.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/errors.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileio.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filestuff.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/format.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb-dlfcn.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb_tilde_expand.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb_vecs.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb_wait.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/job-control.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/netstuff.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/new-op.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pathstuff.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/print-utils.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptid.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rsp-low.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/run-time-clock.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/safe-strerror.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scoped_mmap.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/selftest.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signals-state-save-restore.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signals.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tdesc.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread-pool.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xml-utils.Po@am__quote@
|
||||
|
||||
.c.o:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
|
||||
|
||||
.c.obj:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
|
||||
ID: $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||
tags: tags-am
|
||||
TAGS: tags
|
||||
|
||||
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
$(am__define_uniq_tagged_files); \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: ctags-am
|
||||
|
||||
CTAGS: ctags
|
||||
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
cscope: cscope.files
|
||||
test ! -s cscope.files \
|
||||
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
|
||||
clean-cscope:
|
||||
-rm -f cscope.files
|
||||
cscope.files: clean-cscope cscopelist
|
||||
cscopelist: cscopelist-am
|
||||
|
||||
cscopelist-am: $(am__tagged_files)
|
||||
list='$(am__tagged_files)'; \
|
||||
case "$(srcdir)" in \
|
||||
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||
esac; \
|
||||
for i in $$list; do \
|
||||
if test -f "$$i"; then \
|
||||
echo "$(subdir)/$$i"; \
|
||||
else \
|
||||
echo "$$sdir/$$i"; \
|
||||
fi; \
|
||||
done >> $(top_builddir)/cscope.files
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(LIBRARIES) support-config.h
|
||||
installdirs:
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
if test -z '$(STRIP)'; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
install; \
|
||||
else \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||
fi
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-hdr distclean-tags
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf $(top_srcdir)/autom4te.cache
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: all install-am install-strip
|
||||
|
||||
.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \
|
||||
clean-cscope clean-generic clean-noinstLIBRARIES cscope \
|
||||
cscopelist-am ctags ctags-am distclean distclean-compile \
|
||||
distclean-generic distclean-hdr distclean-tags dvi dvi-am html \
|
||||
html-am info info-am install install-am install-data \
|
||||
install-data-am install-dvi install-dvi-am install-exec \
|
||||
install-exec-am install-html install-html-am install-info \
|
||||
install-info-am install-man install-pdf install-pdf-am \
|
||||
install-ps install-ps-am install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
|
||||
uninstall-am
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
|
||||
override CC := $(CXX)
|
||||
override CFLAGS := $(CXXFLAGS)
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
4
gdbsupport/README
Normal file
4
gdbsupport/README
Normal file
@ -0,0 +1,4 @@
|
||||
This is a helper library that is used by gdb and gdbserver.
|
||||
|
||||
To send patches, follow the gdb patch submission instructions in
|
||||
../gdb/CONTRIBUTE. For maintainers, see ../gdb/MAINTAINERS.
|
5
gdbsupport/acinclude.m4
Normal file
5
gdbsupport/acinclude.m4
Normal file
@ -0,0 +1,5 @@
|
||||
m4_include([common.m4])
|
||||
m4_include([../config/ax_pthread.m4])
|
||||
m4_include([../gdb/ax_cxx_compile_stdcxx.m4])
|
||||
m4_include([../gdb/libiberty.m4])
|
||||
m4_include([../gdb/selftest.m4])
|
1206
gdbsupport/aclocal.m4
vendored
Normal file
1206
gdbsupport/aclocal.m4
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -20,24 +20,32 @@
|
||||
#ifndef COMMON_COMMON_DEFS_H
|
||||
#define COMMON_COMMON_DEFS_H
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#undef PACKAGE_NAME
|
||||
#undef PACKAGE_VERSION
|
||||
#undef PACKAGE_STRING
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
#ifdef GDBSERVER
|
||||
#include "build-gnulib-gdbserver/config.h"
|
||||
#else
|
||||
#include "../../gnulib/config.h"
|
||||
#endif
|
||||
|
||||
#include <build-gnulib-gdbserver/config.h>
|
||||
|
||||
#undef PACKAGE_NAME
|
||||
#undef PACKAGE
|
||||
#undef PACKAGE_VERSION
|
||||
#undef PACKAGE_STRING
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#else /* GDBSERVER */
|
||||
|
||||
#include <gdbsupport/support-config.h>
|
||||
|
||||
#undef PACKAGE_NAME
|
||||
#undef PACKAGE
|
||||
#undef PACKAGE_VERSION
|
||||
#undef PACKAGE_STRING
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
#include "gnulib/config.h"
|
||||
|
||||
#endif /* GDBSERVER */
|
||||
|
||||
/* From:
|
||||
https://www.gnu.org/software/gnulib/manual/html_node/stdint_002eh.html
|
||||
|
274
gdbsupport/config.in
Normal file
274
gdbsupport/config.in
Normal file
@ -0,0 +1,274 @@
|
||||
/* config.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
||||
systems. This function is required for `alloca.c' support on those systems.
|
||||
*/
|
||||
#undef CRAY_STACKSEG_END
|
||||
|
||||
/* Define to 1 if std::thread works. */
|
||||
#undef CXX_STD_THREAD
|
||||
|
||||
/* Define to 1 if using `alloca.c'. */
|
||||
#undef C_ALLOCA
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#undef ENABLE_NLS
|
||||
|
||||
/* Define if self-testing features should be enabled */
|
||||
#undef GDB_SELF_TEST
|
||||
|
||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||
#undef HAVE_ALLOCA
|
||||
|
||||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||
*/
|
||||
#undef HAVE_ALLOCA_H
|
||||
|
||||
/* define if the compiler supports basic C++11 syntax */
|
||||
#undef HAVE_CXX11
|
||||
|
||||
/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_ASPRINTF
|
||||
|
||||
/* Define to 1 if you have the declaration of `basename(char *)', and to 0 if
|
||||
you don't. */
|
||||
#undef HAVE_DECL_BASENAME
|
||||
|
||||
/* Define to 1 if you have the declaration of `ffs', and to 0 if you don't. */
|
||||
#undef HAVE_DECL_FFS
|
||||
|
||||
/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_SNPRINTF
|
||||
|
||||
/* Define to 1 if you have the declaration of `strstr', and to 0 if you don't.
|
||||
*/
|
||||
#undef HAVE_DECL_STRSTR
|
||||
|
||||
/* Define to 1 if you have the declaration of `strtol', and to 0 if you don't.
|
||||
*/
|
||||
#undef HAVE_DECL_STRTOL
|
||||
|
||||
/* Define to 1 if you have the declaration of `strtoll', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_STRTOLL
|
||||
|
||||
/* Define to 1 if you have the declaration of `strtoul', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_STRTOUL
|
||||
|
||||
/* Define to 1 if you have the declaration of `strtoull', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_STRTOULL
|
||||
|
||||
/* Define to 1 if you have the declaration of `strverscmp', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_STRVERSCMP
|
||||
|
||||
/* Define to 1 if you have the declaration of `vasprintf', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_VASPRINTF
|
||||
|
||||
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_VSNPRINTF
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the `fdwalk' function. */
|
||||
#undef HAVE_FDWALK
|
||||
|
||||
/* Define to 1 if you have the `getrlimit' function. */
|
||||
#undef HAVE_GETRLIMIT
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
||||
#undef HAVE_LANGINFO_CODESET
|
||||
|
||||
/* Define to 1 if you have the <linux/perf_event.h> header file. */
|
||||
#undef HAVE_LINUX_PERF_EVENT_H
|
||||
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#undef HAVE_LOCALE_H
|
||||
|
||||
/* Define to 1 if the system has the type `long long'. */
|
||||
#undef HAVE_LONG_LONG
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the `pipe' function. */
|
||||
#undef HAVE_PIPE
|
||||
|
||||
/* Define to 1 if you have the `pipe2' function. */
|
||||
#undef HAVE_PIPE2
|
||||
|
||||
/* Have PTHREAD_PRIO_INHERIT. */
|
||||
#undef HAVE_PTHREAD_PRIO_INHERIT
|
||||
|
||||
/* Define to 1 if you have the `pthread_setname_np' function. */
|
||||
#undef HAVE_PTHREAD_SETNAME_NP
|
||||
|
||||
/* Define to 1 if you have the `pthread_sigmask' function. */
|
||||
#undef HAVE_PTHREAD_SIGMASK
|
||||
|
||||
/* Define to 1 if you have the `sigaction' function. */
|
||||
#undef HAVE_SIGACTION
|
||||
|
||||
/* Define to 1 if you have the <signal.h> header file. */
|
||||
#undef HAVE_SIGNAL_H
|
||||
|
||||
/* Define to 1 if you have the `sigprocmask' function. */
|
||||
#undef HAVE_SIGPROCMASK
|
||||
|
||||
/* Define if sigsetjmp is available. */
|
||||
#undef HAVE_SIGSETJMP
|
||||
|
||||
/* Define to 1 if you have the `socketpair' function. */
|
||||
#undef HAVE_SOCKETPAIR
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the <sys/resource.h> header file. */
|
||||
#undef HAVE_SYS_RESOURCE_H
|
||||
|
||||
/* Define to 1 if you have the <sys/socket.h> header file. */
|
||||
#undef HAVE_SYS_SOCKET_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <sys/un.h> header file. */
|
||||
#undef HAVE_SYS_UN_H
|
||||
|
||||
/* Define to 1 if you have the <sys/wait.h> header file. */
|
||||
#undef HAVE_SYS_WAIT_H
|
||||
|
||||
/* Define to 1 if you have the <termios.h> header file. */
|
||||
#undef HAVE_TERMIOS_H
|
||||
|
||||
/* Define to 1 if you have the <thread_db.h> header file. */
|
||||
#undef HAVE_THREAD_DB_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if you have the <wait.h> header file. */
|
||||
#undef HAVE_WAIT_H
|
||||
|
||||
/* Define to 1 if you have the <windows.h> header file. */
|
||||
#undef HAVE_WINDOWS_H
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#undef PACKAGE_URL
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define to necessary symbol if this constant uses a non-standard name on
|
||||
your system. */
|
||||
#undef PTHREAD_CREATE_JOINABLE
|
||||
|
||||
/* The size of `long long', as computed by sizeof. */
|
||||
#undef SIZEOF_LONG_LONG
|
||||
|
||||
/* If using the C implementation of alloca, define if you know the
|
||||
direction of stack growth for your system; otherwise it will be
|
||||
automatically deduced at runtime.
|
||||
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||
STACK_DIRECTION = 0 => direction of growth unknown */
|
||||
#undef STACK_DIRECTION
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Define to the word size for the target. */
|
||||
#undef TARGET_WORD_SIZE
|
||||
|
||||
/* Enable extensions on AIX 3, Interix. */
|
||||
#ifndef _ALL_SOURCE
|
||||
# undef _ALL_SOURCE
|
||||
#endif
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# undef _GNU_SOURCE
|
||||
#endif
|
||||
/* Enable threading extensions on Solaris. */
|
||||
#ifndef _POSIX_PTHREAD_SEMANTICS
|
||||
# undef _POSIX_PTHREAD_SEMANTICS
|
||||
#endif
|
||||
/* Enable extensions on HP NonStop. */
|
||||
#ifndef _TANDEM_SOURCE
|
||||
# undef _TANDEM_SOURCE
|
||||
#endif
|
||||
/* Enable general extensions on Solaris. */
|
||||
#ifndef __EXTENSIONS__
|
||||
# undef __EXTENSIONS__
|
||||
#endif
|
||||
|
||||
|
||||
/* Define if we should use the Windows API, instead of the POSIX API. On
|
||||
Windows, we use the Windows API when building for MinGW, but the POSIX API
|
||||
when building for Cygwin. */
|
||||
#undef USE_WIN32API
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Enable large inode numbers on Mac OS X 10.5. */
|
||||
#ifndef _DARWIN_USE_64_BIT_INODE
|
||||
# define _DARWIN_USE_64_BIT_INODE 1
|
||||
#endif
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
#undef _FILE_OFFSET_BITS
|
||||
|
||||
/* Define for large files, on AIX-style hosts. */
|
||||
#undef _LARGE_FILES
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
#undef _MINIX
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
#undef _POSIX_1_SOURCE
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
#undef _POSIX_SOURCE
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
10425
gdbsupport/configure
vendored
Executable file
10425
gdbsupport/configure
vendored
Executable file
File diff suppressed because it is too large
Load Diff
63
gdbsupport/configure.ac
Normal file
63
gdbsupport/configure.ac
Normal file
@ -0,0 +1,63 @@
|
||||
dnl Autoconf configure script for GDB support library
|
||||
dnl Copyright (C) 2020 Free Software Foundation, Inc.
|
||||
dnl
|
||||
dnl This program is free software; you can redistribute it and/or modify
|
||||
dnl it under the terms of the GNU General Public License as published by
|
||||
dnl the Free Software Foundation; either version 3 of the License, or
|
||||
dnl (at your option) any later version.
|
||||
dnl
|
||||
dnl This program is distributed in the hope that it will be useful,
|
||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
dnl GNU General Public License for more details.
|
||||
dnl
|
||||
dnl You should have received a copy of the GNU General Public License
|
||||
dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_INIT([gdbsupport], 1.0)
|
||||
AC_CONFIG_SRCDIR(common-defs.h)
|
||||
AC_CONFIG_HEADER(support-config.h:config.in)
|
||||
AC_CANONICAL_SYSTEM
|
||||
AM_MAINTAINER_MODE
|
||||
AC_CONFIG_AUX_DIR(..)
|
||||
AM_INIT_AUTOMAKE
|
||||
AM_SILENT_RULES([yes])
|
||||
|
||||
AC_PROG_CC
|
||||
AC_PROG_CXX
|
||||
AC_PROG_RANLIB
|
||||
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
ACX_LARGEFILE
|
||||
AM_PROG_CC_STDC
|
||||
|
||||
# We require a C++11 compiler. Check if one is available, and if
|
||||
# necessary, set CXX_DIALECT to some -std=xxx switch.
|
||||
AX_CXX_COMPILE_STDCXX(11, , mandatory)
|
||||
|
||||
dnl Set up for gettext.
|
||||
ZW_GNU_GETTEXT_SISTER_DIR
|
||||
|
||||
libiberty_INIT
|
||||
GDB_AC_COMMON
|
||||
GDB_AC_SELFTEST
|
||||
AM_CONDITIONAL(SELFTEST, $enable_unittests)
|
||||
|
||||
TARGET_WORD_SIZE=`sed -n 's,#define BFD_ARCH_SIZE \(.*\)$,\1,p' ../bfd/bfd-in3.h`
|
||||
AC_DEFINE_UNQUOTED(TARGET_WORD_SIZE, $TARGET_WORD_SIZE,
|
||||
[Define to the word size for the target.])
|
||||
|
||||
case ${host} in
|
||||
*mingw32*)
|
||||
AC_DEFINE(USE_WIN32API, 1,
|
||||
[Define if we should use the Windows API, instead of the
|
||||
POSIX API. On Windows, we use the Windows API when
|
||||
building for MinGW, but the POSIX API when building
|
||||
for Cygwin.])
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user