From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) by sourceware.org (Postfix) with ESMTPS id 12AE43858024 for ; Thu, 4 Jan 2024 12:35:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 12AE43858024 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 12AE43858024 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.198.163.11 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704371736; cv=none; b=mmTRKh0TNB3uFLd4Vf9Elz/9ZdvOq91KWm+sahRMWfxpQkPX2wpgi6S468kaTcK/xpZOj2wXp/aVSzglnNoFmdDFxYdF2WFeAGKy2uo1gE9EIxEBvsPbbBF/qKXKvpkLYkc3guDTjOOuTfCdf+wrI7xL3WPs9kH/ZIZ9RqWO948= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704371736; c=relaxed/simple; bh=99KsqiY5CCXSDnJ7kWFRS/sYyuUzasW74ijTFk4R6o8=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=FtrwFEGAi5XLgBN75L7GZvzVhAAUIgIjBJV5LIdgsd2dIOgX5hBDDxcuHexGX2H2qg/0Oh3tH7jaBmVI6crYQ1Gn4NlJOPcoe14PC2ovQFXiw8JcMELm8kH0TY0hNFqKk5Jyi2wSJ0JdZgwb5iZFSOf9o/C53OsVp4W1RAbce0A= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704371734; x=1735907734; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=99KsqiY5CCXSDnJ7kWFRS/sYyuUzasW74ijTFk4R6o8=; b=IPxns2lZXrd321cZiRp5DlLzqjRYg3MMHwSMaXHNsddgP8kz4yJcWL1u RmQVYB/ovfSSC/I4wEUHwWxfjhOb6Pe+ReZpBt5SWo2DrqiD50t7LpPiZ MwPEntdGciALvVABLYVabJcco6MYR2YPamOYmLtTy0HyQGcxO5BP0Hofo f0k9EanJpxl8jcmoQciP1sWkR/a1gxcRULMM+QX8u4AZy95YmNVbmy9E4 vO3ZbZIVG8zusDOTubh7VK4Fp7SsinyOhofDo0zusu/82zNZgJQ+0LmZc wDxqRDHAggFIOwoDWekBLthQLuwDpUWHNQfg95eW9TfZC4v7KPdaVu3hn A==; X-IronPort-AV: E=McAfee;i="6600,9927,10942"; a="4012164" X-IronPort-AV: E=Sophos;i="6.04,330,1695711600"; d="scan'208";a="4012164" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2024 04:35:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10942"; a="783859257" X-IronPort-AV: E=Sophos;i="6.04,330,1695711600"; d="scan'208";a="783859257" Received: from abijaz-mobl2.ger.corp.intel.com (HELO localhost) ([10.246.48.20]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2024 04:35:30 -0800 From: Abdul Basit Ijaz To: gdb-patches@sourceware.org Cc: abdul.b.ijaz@intel.com, thiago.bauermann@linaro.org, tom@tromey.com, simark@simark.ca Subject: [PATCH v4 0/3] Dynamic properties of pointers Date: Thu, 4 Jan 2024 13:35:17 +0100 Message-Id: <20240104123520.7706-1-abdul.b.ijaz@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.8 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 List-Id: From: "Ijaz, Abdul B" Hi! Please find the attached v4 of this series where now majorly dropped icc/ifort special dwarf handling related changes. This is because ifx/icpx compilers does not need such handling and they may be used instead. Also fix the copyrights and indentation issue as per the feedback on V3 series. V3 can be found here: https://sourceware.org/pipermail/gdb-patches/2023-September/202143.html V2 patch 2 was approved by Tom already in this discussion but there are minor changes since then: https://sourceware.org/pipermail/gdb-patches/2023-January/195353.html V2 can be found here: https://sourceware.org/pipermail/gdb-patches/2022-October/192389.html V1 with feedback can be found here: https://sourceware.org/pipermail/gdb-patches/2022-September/191934.html Changes since v3: * Patch 1 : ICC/Ifort changes are dropped and instead it contains now only new indentation issue fixes for gdb.dwarf2/dynarr-ptr.exp. * Patch 2: Fix Tom and Thiago feedback related to copyrights and identation in test files. * Patch 3: Original patch 3 for handling of icc/ifort dwarf is dropped and now this is replaced by patch#4 of V3 series. Ifort related comments are removed. As this change is general for Fortran pointers. Following test configurations are tested on Ubuntu22.04 and no regression is seen: gcc64/gcc32/native-gdbserver/native-extended-gdbserver(-m32) I'm looking forward to comments. Thanks & Best Regards, Abdul Basit Bernhard Heckel (1): gdb, types: Resolve pointer types dynamically Ijaz, Abdul B (1): gdb/testsuite: Fix indentation issues in gdb.dwarf2/dynarr-ptr.exp Nils-Christian Kempke (1): gdb, testsuite, fortran: Fix sizeof intrinsic for Fortran pointers gdb/eval.c | 7 + gdb/gdbtypes.c | 7 +- gdb/testsuite/gdb.cp/vla-cxx.cc | 4 + gdb/testsuite/gdb.cp/vla-cxx.exp | 15 ++ gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp | 138 +++++++++--------- .../gdb.fortran/pointer-to-pointer.exp | 2 +- gdb/testsuite/gdb.fortran/pointers.exp | 115 +++++++++++++++ gdb/testsuite/gdb.fortran/pointers.f90 | 29 ++++ gdb/testsuite/gdb.fortran/sizeof.exp | 115 +++++++++++++++ gdb/testsuite/gdb.fortran/sizeof.f90 | 108 ++++++++++++++ gdb/valprint.c | 6 - 11 files changed, 468 insertions(+), 78 deletions(-) create mode 100644 gdb/testsuite/gdb.fortran/pointers.exp create mode 100644 gdb/testsuite/gdb.fortran/sizeof.exp create mode 100644 gdb/testsuite/gdb.fortran/sizeof.f90 -- 2.34.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