From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by sourceware.org (Postfix) with ESMTPS id 4EC173858C20 for ; Mon, 15 Jan 2024 13:16:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4EC173858C20 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 4EC173858C20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=198.175.65.12 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705324605; cv=none; b=PvPGiolcc0rqlhFtzZ1nTWQHmBHwhYwyQgqlbpsNmbP5bY+nNB9OYOqPh51uxY21051aASXbkfQTNDdRiUBLow3SgltNeOi0BXhEscvSA5WDepyQRdV3rpIufuWvZScckAJt+v0M7m6iipb8PSjqaCEnjtQE8rtX6iUtTcvx5+Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705324605; c=relaxed/simple; bh=goROcnrkswyRk6XhfUamaR9G/YiWAuFAaYBN+Owd/I0=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=cQUpNB2LxMQNPa8Yx6pJOk2b/FHPmYuOePyiEplozoCX3OYuyOwZcu1vJd9Dighb64vIIeTax0B+tyA0fEz8E8mPk+vRRn2grTmiOZ6oYM1OjKBLJ/4hQ/3N2arn0XAmTVHgThxuFPsgJKm9rFI5o+X8cJKzgi4yUB4r3dFNSvA= 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=1705324598; x=1736860598; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=goROcnrkswyRk6XhfUamaR9G/YiWAuFAaYBN+Owd/I0=; b=AiqaGD6vVY0fFsB87cczZXLg+goO2IiCX4ivHqI+zsGYbZk0LUad9oQ1 ATKOfIcm4JXFpg1XQ5ilAHD51TxkNRa9bYZcYIoutpIrCkoHqGGxy8Goi XbNWwE/x/GY4TZkObb/WZHt3T1I8FXvW6QBZiXIHyjnY45g0oaG7QfUWz brOqYPrqZwSveR+U2hcETDaHWFIk2IMYal/OpZd616lQsNJ7DoIe5qKuF 8LcjbkogXL0UOdbyIDSD4a+APTbx4lF2Oj83TTa/JqhAwsnx8Op9V/+X/ nYsv2yKZwC7AKrgu9dVK2T09YsU2kfeXs5AbFavuo+Dog732XYUelEJwh A==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="6979235" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="6979235" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 05:16:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="1114927929" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="1114927929" Received: from abijaz-mobl2.ger.corp.intel.com (HELO localhost) ([10.94.253.153]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 05:16:34 -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 v5 0/3] Dynamic properties of pointers Date: Mon, 15 Jan 2024 14:16:23 +0100 Message-Id: <20240115131623.19357-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.2 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 v5 of this series where it contains only the fixes according to the latest feedback on V4 series. V4 can be found here: https://sourceware.org/pipermail/gdb-patches/2024-January/205661.html 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 v4: * Patch 1: Identation changes as per Tom feedback. * Patch 2: Fix Tom feedback related to pointer or reference case handling to include TYPE_CODE_RVALUE_REF also. 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 | 136 +++++++++--------- .../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, 467 insertions(+), 77 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