Use malloc/free in the dbgapi callbacks
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 404f559baef3d3df65f91f5d722b79b56670c0da..e852b140e7acd0306e77347694ed59e95231226f 100644 (file)
@@ -1,4 +1,5 @@
-# Copyright (C) 1989-2019 Free Software Foundation, Inc.
+# Copyright (C) 1989-2020 Free Software Foundation, Inc.
+# Copyright (C) 2019-2020 Advanced Micro Devices, Inc. All rights reserved.
 
 # This file is part of GDB.
 
@@ -422,6 +423,7 @@ SUBDIR_UNITTESTS_SRCS = \
        unittests/common-utils-selftests.c \
        unittests/copy_bitwise-selftests.c \
        unittests/environ-selftests.c \
+       unittests/filtered_iterator-selftests.c \
        unittests/format_pieces-selftests.c \
        unittests/function-view-selftests.c \
        unittests/help-doc-selftests.c \
@@ -433,6 +435,7 @@ SUBDIR_UNITTESTS_SRCS = \
        unittests/optional-selftests.c \
        unittests/parse-connection-spec-selftests.c \
        unittests/ptid-selftests.c \
+       unittests/main-thread-selftests.c \
        unittests/mkdir-recursive-selftests.c \
        unittests/rsp-low-selftests.c \
        unittests/scoped_fd-selftests.c \
@@ -441,6 +444,7 @@ SUBDIR_UNITTESTS_SRCS = \
        unittests/string_view-selftests.c \
        unittests/style-selftests.c \
        unittests/tracepoint-selftests.c \
+       unittests/tui-selftests.c \
        unittests/unpack-selftests.c \
        unittests/utils-selftests.c \
        unittests/vec-utils-selftests.c \
@@ -606,7 +610,7 @@ INTERNAL_LDFLAGS = \
 CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(LIBCTF) $(ZLIB) \
         $(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \
        $(XM_CLIBS) $(GDBTKLIBS) \
-       @LIBS@ @GUILE_LIBS@ @PYTHON_LIBS@ \
+       @LIBS@ @GUILE_LIBS@ @PYTHON_LIBS@ @ROCM_DBGAPI_LIBS@ \
        $(LIBEXPAT) $(LIBLZMA) $(LIBBABELTRACE) $(LIBIPT) \
        $(LIBIBERTY) $(WIN32LIBS) $(LIBGNU) $(LIBICONV) $(LIBMPFR) \
        $(SRCHIGH_LIBS) $(LIBXXHASH) $(PTHREAD_LIBS)
@@ -774,6 +778,7 @@ ALL_TARGET_OBS = \
        ravenscar-thread.o \
        riscv-fbsd-tdep.o \
        riscv-linux-tdep.o \
+       riscv-ravenscar-thread.o \
        riscv-tdep.o \
        rl78-tdep.o \
        rs6000-aix-tdep.o \
@@ -982,6 +987,7 @@ COMMON_SFILES = \
        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 \
@@ -994,6 +1000,7 @@ COMMON_SFILES = \
        gdbsupport/signals.c \
        gdbsupport/signals-state-save-restore.c \
        gdbsupport/tdesc.c \
+       gdbsupport/thread-pool.c \
        gdbsupport/xml-utils.c \
        complaints.c \
        completer.c \
@@ -1116,6 +1123,7 @@ COMMON_SFILES = \
        remote-fileio.c \
        remote-notif.c \
        reverse.c \
+       run-on-main-thread.c \
        rust-lang.c \
        sentinel-frame.c \
        ser-event.c \
@@ -1133,6 +1141,7 @@ COMMON_SFILES = \
        symmisc.c \
        symtab.c \
        target.c \
+       target-connection.c \
        target-dcache.c \
        target-descriptions.c \
        target-memory.c \
@@ -1212,6 +1221,7 @@ HFILES_NO_SRCDIR = \
        amd64-linux-tdep.h \
        amd64-nat.h \
        amd64-tdep.h \
+       amdgcn-rocm-tdep.h \
        annotate.h \
        arc-tdep.h \
        arch-utils.h \
@@ -1375,9 +1385,12 @@ HFILES_NO_SRCDIR = \
        remote-fileio.h \
        remote-notif.h \
        riscv-fbsd-tdep.h \
+       riscv-ravenscar-thread.h \
        riscv-tdep.h \
+       rocm-tdep.h \
        rs6000-aix-tdep.h \
        rs6000-tdep.h \
+       run-on-main-thread.h \
        s390-linux-tdep.h \
        s390-tdep.h \
        score-tdep.h \
@@ -1473,6 +1486,7 @@ HFILES_NO_SRCDIR = \
        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 \
@@ -1486,6 +1500,7 @@ HFILES_NO_SRCDIR = \
        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 \
@@ -1495,6 +1510,7 @@ HFILES_NO_SRCDIR = \
        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 \
@@ -1768,7 +1784,7 @@ install-only: $(CONFIG_INSTALL)
                  true ; \
                fi ; \
                $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir) ; \
-               $(INSTALL_PROGRAM) gdb$(EXEEXT) \
+               $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) gdb$(EXEEXT) \
                        $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
                $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(includedir)/gdb ; \
                $(INSTALL_DATA) jit-reader.h $(DESTDIR)$(includedir)/gdb/jit-reader.h
@@ -2173,6 +2189,7 @@ ALLDEPFILES = \
        amd64-obsd-tdep.c \
        amd64-sol2-tdep.c \
        amd64-tdep.c \
+       amdgcn-rocm-tdep.c \
        arc-tdep.c \
        arm.c \
        arm-bsd-tdep.c \
@@ -2290,7 +2307,9 @@ ALLDEPFILES = \
        riscv-fbsd-tdep.c \
        riscv-linux-nat.c \
        riscv-linux-tdep.c \
+       riscv-ravenscar-thread.c \
        riscv-tdep.c \
+       rocm-tdep.c \
        rl78-tdep.c \
        rs6000-lynx178-tdep.c \
        rs6000-nat.c \
@@ -2310,6 +2329,7 @@ ALLDEPFILES = \
        sh-tdep.c \
        sol2-tdep.c \
        solib-aix.c \
+       solib-rocm.c \
        solib-svr4.c \
        sparc-linux-nat.c \
        sparc-linux-tdep.c \
@@ -2505,7 +2525,7 @@ install-gdbtk:
          true ; \
        fi ; \
        $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir); \
-       $(INSTALL_PROGRAM) insight$(EXEEXT) \
+       $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) insight$(EXEEXT) \
                $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
        $(SHELL) $(srcdir)/../mkinstalldirs \
                $(DESTDIR)$(GDBTK_LIBRARY) ; \
This page took 0.026628 seconds and 4 git commands to generate.