From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by sourceware.org (Postfix) with ESMTPS id 37E393858D38 for ; Fri, 8 Sep 2023 22:51:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 37E393858D38 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694213501; x=1725749501; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=wBVTcV6wNHbDhe3v3pzigQSC1QkOJ024cfd9TYIxDNY=; b=j/eCaBLPMWcuyeUuDXaN8BixmAv+1nhpxmItc7DIDkFWsDID+ic0fubN nAS73cmOu5BCgF0X9I7ScI2FaAhkhrAmDza6LjoSLEw1xDgIcFZa5M33H SFxo0vq1asLIiN2WaiFiP62VnU1j6cnzRP6aWXN2iny65Ezf29wieKbq4 XNsRv4nUrRXRFnXgZUpjJGtAx0Vi3FrP4Pmx3Mkg85HDWjITGryfioYGn i3vOiHH/Z1C1HzyMth9OjbsvRF5yA1pL06RsnSmYPKa1ce8fNxbehSU0U QJfM3aYwqOnZ/2H+RT3xxIeW+G8IQh3d21AO9ur254y3OtZtU3nW+uEZj Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10827"; a="358066665" X-IronPort-AV: E=Sophos;i="6.02,238,1688454000"; d="scan'208";a="358066665" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2023 15:51:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10827"; a="742666709" X-IronPort-AV: E=Sophos;i="6.02,238,1688454000"; d="scan'208";a="742666709" Received: from abijaz-mobl2.ger.corp.intel.com (HELO localhost) ([10.249.44.212]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2023 15:51:11 -0700 From: Abdul Basit Ijaz To: gdb-patches@sourceware.org Cc: abdul.b.ijaz@intel.com, tom@tromey.com, kevinb@redhat.com Subject: [PATCH 0/1] Fix regression in gdb.fortran/array-slices-bad.exp Date: Sat, 9 Sep 2023 00:51:02 +0200 Message-Id: <20230908225103.26798-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=-4.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 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" Got a regression email due to merge of commit in CI config tcwg_gdb_check/master-aarch64 : https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=41439185cd0075bbb1aedf9665685dba0827cfec Begining of test "gdb.fortran/array-slices-bad.exp" was updated in above commit to start the test from running to line with tag "First Breakpoint" instead of "fortran_runto_main". Reason of the regression is shared libraries are still loaded after hitting the breakpoint as "nosharedlibrary" is already called before hitting the breakpoint. So now after this change test is updated accordingly to disable and unload shared libraries symbols after hitting the first breakpoint. Regression email shows following fails: Running gdb:gdb.fortran/array-slices-bad.exp ... FAIL: gdb.fortran/array-slices-bad.exp: print array (0,:) FAIL: gdb.fortran/array-slices-bad.exp: print array (0:,:) FAIL: gdb.fortran/array-slices-bad.exp: print array (10:1:1,:) FAIL: gdb.fortran/array-slices-bad.exp: print array (11,:) FAIL: gdb.fortran/array-slices-bad.exp: print array (1:10:-1,:) FAIL: gdb.fortran/array-slices-bad.exp: print array (:,0) FAIL: gdb.fortran/array-slices-bad.exp: print array (:,0:) ... and 7 more entries After the change now all tests should pass again. Here are the results on Ubuntu22 and gfortran-11-4-0: (gdb) PASS: gdb.fortran/array-slices-bad.exp: print array (0:,:) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print array (:11,:) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print array (:,0:) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print array (:,:11) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print array (0,:) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print array (11,:) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print array (:,0) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print array (:,11) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print pointer2d (0:,:) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print pointer2d (:11,:) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print pointer2d (:,0:) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print pointer2d (:,:11) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print pointer2d (0,:) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print pointer2d (11,:) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print pointer2d (:,0) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print pointer2d (:,11) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print other (0:,:) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print other (:11,:) (gdb) PASS: gdb.fortran/array-slices-bad.exp: print other (:,:11) .. Thanks & Best Regards Abdul Basit Ijaz, Abdul B (1): testsuite, fortran: Fix regression due to fix for ifort's 'start' behavior gdb/testsuite/gdb.fortran/array-slices-bad.exp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -- 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