* gnu-v3-abi.c (gnuv3_skip_trampoline): Handle thunk
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index a36d576e0a98767a12b5ce7d1ae00a7a3357485c..a6336a291d833755b13276ac755657cfc9c750b1 100644 (file)
@@ -154,6 +154,10 @@ LIBEXPAT = @LIBEXPAT@
 # Where is lzma?  This will be empty if lzma was not available.
 LIBLZMA = @LIBLZMA@
 
+# Where is libbabeltrace? This will be empty if lbabeltrace was not
+# available.
+LIBBABELTRACE = @LIBBABELTRACE@
+
 WARN_CFLAGS = @WARN_CFLAGS@
 WERROR_CFLAGS = @WERROR_CFLAGS@
 GDB_WARN_CFLAGS = $(WARN_CFLAGS)
@@ -284,6 +288,7 @@ SUBDIR_PYTHON_OBS = \
        py-exitedevent.o \
        py-finishbreakpoint.o \
        py-frame.o \
+       py-framefilter.o \
        py-function.o \
        py-gdb-readline.o \
        py-inferior.o \
@@ -318,6 +323,7 @@ SUBDIR_PYTHON_SRCS = \
        python/py-exitedevent.c \
        python/py-finishbreakpoint.c \
        python/py-frame.c \
+       python/py-framefilter.c \
        python/py-function.c \
        python/py-gdb-readline.c \
        python/py-inferior.c \
@@ -414,6 +420,7 @@ CONFIG_ALL= @CONFIG_ALL@
 CONFIG_CLEAN= @CONFIG_CLEAN@
 CONFIG_INSTALL = @CONFIG_INSTALL@
 CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
+HAVE_NATIVE_GCORE_TARGET = @HAVE_NATIVE_GCORE_TARGET@
 
 # -I. for config files.
 # -I$(srcdir) for gdb internal headers.
@@ -475,7 +482,7 @@ INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_
 # LIBIBERTY appears twice on purpose.
 CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \
        $(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ @PYTHON_LIBS@ \
-       $(LIBEXPAT) $(LIBLZMA) \
+       $(LIBEXPAT) $(LIBLZMA) $(LIBBABELTRACE) \
        $(LIBIBERTY) $(WIN32LIBS) $(LIBGNU)
 CDEPS = $(XM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) \
        $(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU)
@@ -496,6 +503,7 @@ RUNTESTFLAGS=
 # XML files to build in to GDB.
 XMLFILES = $(srcdir)/features/gdb-target.dtd $(srcdir)/features/xinclude.dtd \
        $(srcdir)/features/library-list.dtd \
+       $(srcdir)/features/library-list-aix.dtd \
        $(srcdir)/features/library-list-svr4.dtd $(srcdir)/features/osdata.dtd \
        $(srcdir)/features/threads.dtd $(srcdir)/features/traceframe-info.dtd \
        $(srcdir)/features/btrace.dtd
@@ -511,7 +519,7 @@ SER_HARDWIRE = @SER_HARDWIRE@
 # The `remote' debugging target is supported for most architectures,
 # but not all (e.g. 960)
 REMOTE_OBS = remote.o dcache.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o \
-       remote-notif.o
+       remote-notif.o ctf.o
 
 # This is remote-sim.o if a simulator is to be linked in.
 SIM_OBS = @SIM_OBS@
@@ -565,10 +573,11 @@ ALL_TARGET_OBS = \
        mn10300-linux-tdep.o mn10300-tdep.o \
        moxie-tdep.o \
        mt-tdep.o \
+       nios2-tdep.o nios2-linux-tdep.o \
        nto-tdep.o \
-       ppc-linux-tdep.o ppcnbsd-tdep.o ppcobsd-tdep.o ppc-sysv-tdep.o \
-       ppc64-tdep.o rl78-tdep.o \
-       rs6000-aix-tdep.o rs6000-tdep.o ppc-ravenscar-thread.o \
+       ppc-linux-tdep.o ppcfbsd-tdep.o ppcnbsd-tdep.o ppcobsd-tdep.o  \
+       ppc-sysv-tdep.o ppc64-tdep.o rl78-tdep.o \
+       rs6000-aix-tdep.o rs6000-tdep.o solib-aix.o ppc-ravenscar-thread.o \
        rs6000-lynx178-tdep.o \
        rx-tdep.o \
        s390-tdep.o \
@@ -703,7 +712,9 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \
        agent.c \
        bcache.c \
        bfd-target.c \
-       block.c blockframe.c breakpoint.c break-catch-sig.c buildsym.c \
+       block.c blockframe.c \
+       breakpoint.c break-catch-sig.c break-catch-throw.c \
+       buildsym.c \
        c-exp.y c-lang.c c-typeprint.c c-valprint.c \
        charset.c cleanups.c cli-out.c coffread.c coff-pe-read.c \
        complaints.c completer.c continuations.c corefile.c corelow.c \
@@ -760,7 +771,7 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \
        regset.c sol-thread.c windows-termcap.c \
        common/gdb_vecs.c common/common-utils.c common/xml-utils.c \
        common/ptid.c common/buffer.c gdb-dlfcn.c common/agent.c \
-       common/format.c btrace.c
+       common/format.c common/filestuff.c btrace.c record-btrace.c ctf.c
 
 LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c
 
@@ -798,9 +809,9 @@ target.h prologue-value.h cp-abi.h tui/tui-hooks.h tui/tui.h \
 tui/tui-file.h tui/tui-command.h tui/tui-disasm.h tui/tui-wingeneral.h \
 tui/tui-windata.h tui/tui-data.h tui/tui-win.h tui/tui-stack.h \
 tui/tui-winsource.h tui/tui-regs.h tui/tui-io.h tui/tui-layout.h \
-tui/tui-source.h xcoffsolib.h sol2-tdep.h gregset.h sh-tdep.h sh64-tdep.h \
+tui/tui-source.h sol2-tdep.h gregset.h sh-tdep.h sh64-tdep.h \
 expression.h score-tdep.h gdb_select.h ser-tcp.h buildsym.h valprint.h \
-call-cmds.h typeprint.h mi/mi-getopt.h mi/mi-parse.h mi/mi-console.h \
+typeprint.h mi/mi-getopt.h mi/mi-parse.h mi/mi-console.h \
 mi/mi-out.h mi/mi-main.h mi/mi-common.h mi/mi-cmds.h linux-nat.h \
 complaints.h gdb_proc_service.h gdb_regex.h xtensa-tdep.h inf-loop.h \
 common/gdb_wait.h common/gdb_assert.h solib.h ppc-tdep.h cp-support.h glibc-tdep.h \
@@ -809,15 +820,16 @@ amd64-linux-tdep.h linespec.h i387-tdep.h mn10300-tdep.h \
 sparc64-tdep.h monitor.h ppcobsd-tdep.h srec.h solib-pa64.h \
 coff-pe-read.h parser-defs.h gdb_ptrace.h mips-linux-tdep.h \
 m68k-tdep.h spu-tdep.h jv-lang.h environ.h solib-irix.h amd64-tdep.h \
-doublest.h regset.h hppa-tdep.h ppc-linux-tdep.h ppc64-tdep.h rs6000-tdep.h \
+doublest.h regset.h hppa-tdep.h ppc-linux-tdep.h ppc64-tdep.h \
+rs6000-tdep.h rs6000-aix-tdep.h \
 common/gdb_locale.h common/gdb_dirent.h arch-utils.h trad-frame.h gnu-nat.h \
 language.h nbsd-tdep.h solib-svr4.h \
-macroexp.h ui-file.h regcache.h gdb_string.h tracepoint.h i386-tdep.h \
+macroexp.h ui-file.h regcache.h tracepoint.h i386-tdep.h \
 inf-child.h p-lang.h event-top.h gdbtypes.h user-regs.h \
 regformats/regdef.h config/alpha/nm-osf3.h  config/i386/nm-i386gnu.h \
 config/i386/nm-fbsd.h \
 config/nm-nto.h config/sparc/nm-sol2.h config/nm-linux.h \
-config/rs6000/nm-rs6000.h top.h bsd-kvm.h gdb-stabs.h reggroups.h \
+top.h bsd-kvm.h gdb-stabs.h reggroups.h \
 annotate.h sim-regno.h dictionary.h dfp.h main.h frame-unwind.h        \
 remote-fileio.h i386-linux-tdep.h vax-tdep.h objc-lang.h \
 sentinel-frame.h bcache.h symfile.h windows-tdep.h linux-tdep.h \
@@ -826,18 +838,19 @@ psymtab.h psympriv.h progspace.h bfin-tdep.h ia64-hpux-tdep.h \
 amd64-darwin-tdep.h charset-list.h \
 config/djgpp/langinfo.h config/djgpp/nl_types.h darwin-nat.h \
 dicos-tdep.h filesystem.h gcore.h gdb_wchar.h hppabsd-tdep.h \
-i386-darwin-tdep.h i386-nat.h linux-record.h moxie-tdep.h \
+i386-darwin-tdep.h i386-nat.h linux-record.h moxie-tdep.h nios2-tdep.h \
 osdata.h procfs.h python/py-event.h python/py-events.h python/py-stopevent.h \
 python/python-internal.h python/python.h ravenscar-thread.h record.h \
-record-full.h \
+record-full.h solib-aix.h \
 solib-darwin.h solib-ia64-hpux.h solib-spu.h windows-nat.h xcoffread.h \
 gnulib/import/extra/snippet/arg-nonnull.h gnulib/import/extra/snippet/c++defs.h \
 gnulib/import/extra/snippet/warn-on-use.h \
 gnulib/import/stddef.in.h gnulib/import/inttypes.in.h inline-frame.h skip.h \
 common/common-utils.h common/xml-utils.h common/buffer.h common/ptid.h \
-common/format.h common/host-defs.h utils.h common/queue.h \
+common/format.h common/host-defs.h utils.h common/queue.h common/gdb_string.h \
 common/linux-osdata.h gdb-dlfcn.h auto-load.h probe.h stap-probe.h \
-gdb_bfd.h sparc-ravenscar-thread.h ppc-ravenscar-thread.h common/linux-btrace.h
+gdb_bfd.h sparc-ravenscar-thread.h ppc-ravenscar-thread.h common/linux-btrace.h \
+ctf.h
 
 # Header files that already have srcdir in them, or which are in objdir.
 
@@ -872,7 +885,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
        auto-load.o auxv.o \
        agent.o \
        bfd-target.o \
-       blockframe.o breakpoint.o break-catch-sig.o \
+       blockframe.o breakpoint.o break-catch-sig.o break-catch-throw.o \
        findvar.o regcache.o cleanups.o \
        charset.o continuations.o corelow.o disasm.o dummy-frame.o dfp.o \
        source.o value.o eval.o valops.o valarith.o valprint.o printcmd.o \
@@ -882,6 +895,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
        expprint.o environ.o stack.o thread.o \
        exceptions.o \
        filesystem.o \
+       filestuff.o \
        inf-child.o \
        interps.o \
        minidebug.o \
@@ -930,7 +944,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
        inferior.o osdata.o gdb_usleep.o record.o record-full.o gcore.o \
        gdb_vecs.o jit.o progspace.o skip.o probe.o \
        common-utils.o buffer.o ptid.o gdb-dlfcn.o common-agent.o \
-       format.o registry.o btrace.o
+       format.o registry.o btrace.o record-btrace.o
 
 TSOBS = inflow.o
 
@@ -963,7 +977,7 @@ DISTSTUFF = $(YYFILES)
 
 # All generated files which can be included by another file.
 generated_files = config.h observer.h observer.inc ada-lex.c jit-reader.h \
-       $(GNULIB_H) $(NAT_GENERATED_FILES)
+       $(GNULIB_H) $(NAT_GENERATED_FILES) gcore
 
 .c.o:
        $(COMPILE) $<
@@ -1018,11 +1032,6 @@ check//%: force
 info install-info clean-info dvi pdf install-pdf html install-html: force
        @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
 
-gdb.z:gdb.1
-       nroff -man $(srcdir)/gdb.1 | col -b > gdb.t
-       pack gdb.t ; rm -f gdb.t
-       mv gdb.t.z gdb.z
-
 # Traditionally "install" depends on "all".  But it may be useful
 # not to; for example, if the user has made some trivial change to a
 # source file and doesn't care about rebuilding or just wants to save the
@@ -1042,12 +1051,21 @@ install-only: $(CONFIG_INSTALL)
                $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir) ; \
                $(INSTALL_PROGRAM) gdb$(EXEEXT) \
                        $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
-               $(SHELL) $(srcdir)/../mkinstalldirs \
-                       $(DESTDIR)$(man1dir) ; \
-               $(INSTALL_DATA) $(srcdir)/gdb.1 \
-                       $(DESTDIR)$(man1dir)/$$transformed_name.1 ; \
                $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(includedir)/gdb ; \
                $(INSTALL_DATA) jit-reader.h $(DESTDIR)$(includedir)/gdb/jit-reader.h
+       if test "x$(HAVE_NATIVE_GCORE_TARGET)$(HAVE_NATIVE_GCORE_HOST)" != x; \
+       then \
+         transformed_name=`t='$(program_transform_name)'; \
+                           echo gcore | sed -e "$$t"` ; \
+                 if test "x$$transformed_name" = x; then \
+                   transformed_name=gcore ; \
+                 else \
+                   true ; \
+                 fi ; \
+                 $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir) ; \
+                 $(INSTALL_PROGRAM) gcore \
+                         $(DESTDIR)$(bindir)/$$transformed_name; \
+       fi
        @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
 
 install-python:
@@ -1063,6 +1081,17 @@ uninstall: force $(CONFIG_UNINSTALL)
                fi ; \
                rm -f $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) \
                      $(DESTDIR)$(man1dir)/$$transformed_name.1
+       if test "x$(HAVE_NATIVE_GCORE_TARGET)$(HAVE_NATIVE_GCORE_HOST)" != x; \
+       then \
+         transformed_name=`t='$(program_transform_name)'; \
+                           echo gcore | sed -e "$$t"` ; \
+                 if test "x$$transformed_name" = x; then \
+                   transformed_name=gcore ; \
+                 else \
+                   true ; \
+                 fi ; \
+                 rm -f $(DESTDIR)$(bindir)/$$transformed_name; \
+       fi
        @$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
 
 # The C++ name parser can be built standalone for testing.
@@ -1207,7 +1236,7 @@ gdb1$(EXEEXT): gdb$(EXEEXT)
 GDB_NM_FILE = @GDB_NM_FILE@
 TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
        @echo Making TAGS
-       @etags $(srcdir)/$(GDB_NM_FILE) \
+       etags `(test -n "$(GDB_NM_FILE)" && echo "$(srcdir)/$(GDB_NM_FILE)")` \
        `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \
                echo $(srcdir)/$$i ; \
        done ; for i in $(TAGFILES_WITH_SRCDIR); do \
@@ -1307,6 +1336,9 @@ data-directory/Makefile: data-directory/Makefile.in config.status @frags@
 jit-reader.h: $(srcdir)/jit-reader.in
        $(SHELL) config.status $@
 
+gcore: $(srcdir)/gcore.in
+       $(SHELL) config.status $@
+
 config.h: stamp-h ; @true
 stamp-h: $(srcdir)/config.in config.status
        CONFIG_HEADERS=config.h:config.in \
@@ -1488,11 +1520,13 @@ ALLDEPFILES = \
        mips-tdep.c \
        mipsnbsd-nat.c mipsnbsd-tdep.c \
        mips64obsd-nat.c mips64obsd-tdep.c \
+       nios2-tdep.c nios2-linux-tdep.c \
        nbsd-nat.c nbsd-tdep.c obsd-tdep.c \
        solib-osf.c \
        somread.c solib-som.c \
        posix-hdep.c \
        ppc-sysv-tdep.c ppc-linux-nat.c ppc-linux-tdep.c ppc64-tdep.c \
+       ppcfbsd-nat.c ppcfbsd-tdep.c \
        ppcnbsd-nat.c ppcnbsd-tdep.c \
        ppcobsd-nat.c ppcobsd-tdep.c \
        procfs.c \
@@ -1501,7 +1535,7 @@ ALLDEPFILES = \
        remote-sim.c \
        dcache.c \
        rl78-tdep.c \
-       rs6000-nat.c rs6000-tdep.c ppc-ravenscar-thread.c \
+       rs6000-nat.c rs6000-tdep.c solib-aix.c ppc-ravenscar-thread.c \
        rs6000-lynx178-tdep.c \
        rx-tdep.c \
        s390-tdep.c s390-nat.c \
@@ -1522,7 +1556,7 @@ ALLDEPFILES = \
        v850-tdep.c \
        vax-nat.c vax-tdep.c vaxbsd-nat.c vaxnbsd-tdep.c \
        windows-nat.c windows-tdep.c \
-       xcoffread.c xcoffsolib.c \
+       xcoffread.c \
        xstormy16-tdep.c \
        xtensa-tdep.c xtensa-config.c \
        xtensa-linux-tdep.c xtensa-linux-nat.c xtensa-xtregs.c
@@ -1943,6 +1977,10 @@ buffer.o: ${srcdir}/common/buffer.c
        $(COMPILE) $(srcdir)/common/buffer.c
        $(POSTCOMPILE)
 
+filestuff.o: $(srcdir)/common/filestuff.c
+       $(COMPILE) $(srcdir)/common/filestuff.c
+       $(POSTCOMPILE)
+
 format.o: ${srcdir}/common/format.c
        $(COMPILE) $(srcdir)/common/format.c
        $(POSTCOMPILE)
@@ -2110,6 +2148,10 @@ py-frame.o: $(srcdir)/python/py-frame.c
        $(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-frame.c
        $(POSTCOMPILE)
 
+py-framefilter.o: $(srcdir)/python/py-framefilter.c
+       $(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-framefilter.c
+       $(POSTCOMPILE)
+
 py-function.o: $(srcdir)/python/py-function.c
        $(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-function.c
        $(POSTCOMPILE)
This page took 0.029487 seconds and 4 git commands to generate.