From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by sourceware.org (Postfix) with ESMTPS id 5B1583857BB2 for ; Tue, 31 May 2022 09:24:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5B1583857BB2 X-IronPort-AV: E=McAfee;i="6400,9594,10363"; a="361574507" X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="361574507" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2022 02:24:43 -0700 X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="576318523" Received: from labpcdell3650-003.iul.intel.com (HELO localhost) ([172.28.49.87]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2022 02:24:41 -0700 From: Nils-Christian Kempke To: gdb-patches@sourceware.org Cc: aburgess@redhat.com, JiniSusan.George@amd.com, Nils-Christian Kempke Subject: [PATCH v2 00/16] Fortran compiler identification and ifx testsuite support Date: Tue, 31 May 2022 11:24:17 +0200 Message-Id: <20220531092423.2361679-1-nils-christian.kempke@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2022 09:24:46 -0000 Hi, V1 of this series can be found here: https://sourceware.org/pipermail/gdb-patches/2022-May/188904.html Changes since v1: * Patch 03: There were some leftovers in the commit message from an earlier version of the patch - these have been removed. * Patch 04: The commit message has been renamed and a comment been adapted according to Andrew's feedback. The getting_compiler_info variable now also uses actual bool values. * Patch 06: The commit message has been adapted and now says that the intel C compiler names have not yet been used in the testsuite (to avoid confusion as to why there are no changes done in the testsuite). * Patch 08: This patch has been dropped, instead an ifx bug was filed. So from now on the patch numbers will be off by 1. * Patch 11 (now 10): The comment has been reworded and 'need the -debug-parameters all flag set to emit' now reads 'need the -debug-parameters flag set to emit' Also, not only ifx but also ifort requires the flag so it is now added for both compilers. * Patch 13 (now 12): I added a comment to the patch as well as made the commit message a lot more elaborate (after some online discussion). * Patch 14: This patch has been dropped for now as we are claifying whether ifx should change its debug output. The patch numbers will now be off by 2. * Patch 18 (now 16): The '-wrap' is now used here instead of adding the $gdb_prompt in test_multiple. Also, flang was added to the comments. Patch 01, 02, 05, 07, 09 (now 08), 10 (now 09), 12 (now 11), 15 (now 13), 16 (now 14), and 17 (now 15) had been approved before and were not changed/included here. I am happy about any feedback. Cheers, Nils Abdul Basit Ijaz (1): gdb/testsuite: Use -module option for Intel Fortran compilers Cristian Sandu (1): gdb/testsuite: add Fortran compiler identification to GDB Felix Willgerodt (1): gdb/testsuite: Fix fortran types for Intel compilers. Nils-Christian Kempke (13): gdb/testsuite: remove F77_FOR_TARGET support gdb/testsuite: move getting_compiler_info to front of gdb_compile gdb/testsuite: rename intel next gen c/cpp compilers gdb/testsuite: disable charset.exp for intel compilers testsuite, fortran: add required external keyword testsuite, fortran: add compiler dependent types to dynamic-ptype-whatis testsuite, fortran: Add '-debug-parameters all' when using ifx/ifort testsuite/lib: add check_optional_entry for GDBInfoSymbols testsuite, fortran: fix info-types for intel compilers testsuite, fortran: allow additional completions in module.exp gdb, testsuite, fortran: fix double free in mixed-lang-stack.exp gdb, testsuite, fortran: fixup mixed-lang-stack for Intel/LLVM compilers gdb/testsuite: fixup common-block.exp for intel compilers gdb/testsuite/boards/cc-with-tweaks.exp | 5 - gdb/testsuite/boards/debug-types.exp | 1 - gdb/testsuite/boards/gold-gdb-index.exp | 1 - gdb/testsuite/gdb.fortran/assumedrank.exp | 6 +- gdb/testsuite/gdb.fortran/charset.exp | 5 + .../gdb.fortran/class-allocatable-array.exp | 4 +- gdb/testsuite/gdb.fortran/common-block.exp | 38 ++++++- .../gdb.fortran/derived-type-striding.exp | 2 +- .../gdb.fortran/dynamic-ptype-whatis.exp | 79 +++++++------- gdb/testsuite/gdb.fortran/function-calls.f90 | 1 + gdb/testsuite/gdb.fortran/info-types.exp | 20 +++- gdb/testsuite/gdb.fortran/library-module.exp | 2 +- .../gdb.fortran/mixed-lang-stack.cpp | 12 +-- .../gdb.fortran/mixed-lang-stack.exp | 21 ++-- gdb/testsuite/gdb.fortran/module.exp | 5 +- gdb/testsuite/gdb.fortran/namelist.exp | 2 +- gdb/testsuite/gdb.fortran/nested-funcs-2.exp | 3 +- .../gdb.fortran/ptype-on-functions.exp | 6 +- gdb/testsuite/gdb.fortran/vla-type.exp | 2 +- gdb/testsuite/lib/compiler.F90 | 69 ++++++++++++ gdb/testsuite/lib/compiler.c | 2 +- gdb/testsuite/lib/compiler.cc | 2 +- gdb/testsuite/lib/fortran.exp | 100 +++++++++++------- gdb/testsuite/lib/future.exp | 21 +--- gdb/testsuite/lib/gdb.exp | 62 +++++++---- gdb/testsuite/lib/sym-info-cmds.exp | 18 +++- 26 files changed, 318 insertions(+), 171 deletions(-) create mode 100644 gdb/testsuite/lib/compiler.F90 -- 2.25.1 Intel Deutschland GmbH Registered Address: Am Campeon 10, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928