From patchwork Fri Jan 5 13:19:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abdul Basit Ijaz X-Patchwork-Id: 56575 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 400B8385770C for ; Fri, 5 Jan 2024 13:21:00 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by sourceware.org (Postfix) with ESMTPS id 26BCD3858C29 for ; Fri, 5 Jan 2024 13:20:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 26BCD3858C29 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 26BCD3858C29 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=1704460829; cv=none; b=FKAX7O0oivGlVLs4jQZxmA944ULzmbq5eBWaBnroOmAn+E/rdq/DrfFcb5uSRx+mRQFOvCJIhMn2L3VRslBayoShxE6S54aUCN/+WRbGe0jvaq/MxJJWyshHHqQrpejMNRcqhPm8vDIR9CzD7jfswOxOnuQaa1Xmyq2aV8GDipU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704460829; c=relaxed/simple; bh=BJJgZTmlucSDzZmpgMxY58iOLE4izykFAxeX63csrRE=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=PUFE5hbLgzboz3EJ+bOsOfKUTMhmQ48vIqo6nwVO2+HBQavoVbhS7zcHHQ5AVKL7F3heBHFDLUv40UfpoeEoscj2vBFZm2LDVaLRdDnSzSolD9QMcZRMTvYIT5Oo3SvN2MubgGnYMcARfxxQ8JcpOzR1WsczIdOcyBJyh1iMQXU= 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=1704460828; x=1735996828; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=BJJgZTmlucSDzZmpgMxY58iOLE4izykFAxeX63csrRE=; b=WBVCi287PK9r2LZGFF+ajYfIOVrgj/fQhCr5ERxykE9/aH7dhf7LIJU8 PGkcguTwTShbqwTLVOSzf/CuVM5Nv6DwD59VCRp7GNeGijsC2ewD+6HTf maB1nSCEajzPXF5OyzOOfJLjx3dDpxxBMy67X3qdHjCJYGzzghjfvtfiF D04KuhMjMSVZHp9Gx48d9YzW2y0HdeuG79kI+PIOY23O2uahuKMPCD4XZ zl1+klKZSnPnrLrnEzNAfGKdGAK4P3DdctxF+p+paD8myj5ZZ3Jvw4Crp sKUIOHBOm4q1cmVfDry7UJzZBbfKC9/08yIc7EKg4hmDt2iEcgcHItN6u Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10943"; a="4874814" X-IronPort-AV: E=Sophos;i="6.04,333,1695711600"; d="scan'208";a="4874814" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jan 2024 05:20:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10943"; a="1112089750" X-IronPort-AV: E=Sophos;i="6.04,333,1695711600"; d="scan'208";a="1112089750" Received: from abijaz-mobl2.ger.corp.intel.com (HELO localhost) ([10.246.49.146]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jan 2024 05:20:12 -0800 From: Abdul Basit Ijaz To: gdb-patches@sourceware.org Cc: abdul.b.ijaz@intel.com, aburgess@redhat.com Subject: [PATCH v6 0/1] Fix arrays of variable length strings for FORTRAN Date: Fri, 5 Jan 2024 14:19:11 +0100 Message-Id: <20240105131912.22658-1-abdul.b.ijaz@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-5.7 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.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org From: "Ijaz, Abdul B" Hi All, One build issue was left unmerged in V5 of this series where in V5 series patch is rebased only on latest master and feedback from Andrew on V3 series was already resolved in V4 series and there is no further feedback on this since then. V5 of this series can be found here: https://sourceware.org/pipermail/gdb-patches/2024-January/205672.html V4 of this series can be found here: https://sourceware.org/pipermail/gdb-patches/2023-January/195836.html V3 of this series can be found here: https://sourceware.org/pipermail/gdb-patches/2022-May/188725.html Changes since V4: * Rebase patch on latest master and fix conflicts. 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. Best Regards, Abdul Basit Ijaz, Abdul B (1): fortran: Fix arrays of variable length strings for FORTRAN gdb/c-valprint.c | 1 + gdb/gdbtypes.c | 42 ++++++++++++++- gdb/testsuite/gdb.fortran/string-types.exp | 4 +- gdb/testsuite/gdb.fortran/vla-array.exp | 60 ++++++++++++++++++++++ gdb/testsuite/gdb.fortran/vla-array.f90 | 45 ++++++++++++++++ gdb/testsuite/gdb.opt/fortran-string.exp | 2 +- 6 files changed, 149 insertions(+), 5 deletions(-) create mode 100644 gdb/testsuite/gdb.fortran/vla-array.exp create mode 100644 gdb/testsuite/gdb.fortran/vla-array.f90