From patchwork Thu Jan 4 12:35:18 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: 83304 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 65F483861842 for ; Thu, 4 Jan 2024 12:36:26 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) by sourceware.org (Postfix) with ESMTPS id 258C13857C60 for ; Thu, 4 Jan 2024 12:35:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 258C13857C60 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 258C13857C60 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=1704371748; cv=none; b=JdiulG3iF1hkUKKQ62tGTWhkOgx/H/7q+3clgF9fyVc27SCR3CpR57q8EWJLF2J0hwKCP3iz6bkflSE9o6gtpYDRHlH/Zq+2UeWOrM8ux7PHEH+qh8nIp+HKddt66tR5xySUaFPzkXqYd3LIx44zNTK0fRfHscYLgYWLp0wMQHM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704371748; c=relaxed/simple; bh=j2S9Xb6W3d1wXTMzxQ4SHW1PW+vdtVYvju2952F/nCw=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=JM/oiuSEFmkjakrDZHsJKhrUeu1WWopuBnrfxgNDTdkwiV59M44iPZQn5ruPht/A+CJGob/Wyd0p9ZO/UoOqi+Ok7IhcPXdE+JybcaxyVdH+Rk9wipOODtZMs9/UqjQdz2J2o/Sr69OzSYpz7h79CU33CgwCWoECe8jzNKwTPnY= 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=1704371744; x=1735907744; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=j2S9Xb6W3d1wXTMzxQ4SHW1PW+vdtVYvju2952F/nCw=; b=LXlmOdS32UMWh8Gj0yYd71+wn0ob/A+l4Q225k43F/rhZdwNyOGa8HYy gIq5BA3FNCiaHOFnCE9h77Y8LQsDc20xOtrJT9cym55ePD/w+DQM2qGUC AXhr1TsML89Yq7Qz49NSM4zr8QsV6kpnhNPjnTlleoDuF82Mu7DAsxGRk K6cN1ON2E/4rvSM3KgkCXk8yyQwUX3mvBoU59yBOzGVgITLQTRNJWFXA/ 0V6iRyS5XLow7qTVNR5IVA13qJ0U+M95+oqx7pPh/u7U+8GmLRxa+ow/7 m5kVhfdIrj2mhP5ejTorl72DSJSjQiyiCCllpP8h4UhIKu9aP8g2KjZ5k Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10942"; a="4012188" X-IronPort-AV: E=Sophos;i="6.04,330,1695711600"; d="scan'208";a="4012188" 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:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10942"; a="783859262" X-IronPort-AV: E=Sophos;i="6.04,330,1695711600"; d="scan'208";a="783859262" 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:40 -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 1/3] gdb/testsuite: Fix indentation issues in gdb.dwarf2/dynarr-ptr.exp Date: Thu, 4 Jan 2024 13:35:18 +0100 Message-Id: <20240104123520.7706-2-abdul.b.ijaz@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240104123520.7706-1-abdul.b.ijaz@intel.com> References: <20240104123520.7706-1-abdul.b.ijaz@intel.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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" --- gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp | 138 ++++++++++++------------ 1 file changed, 69 insertions(+), 69 deletions(-) diff --git a/gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp b/gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp index 6e4a331eca8..26c64278103 100644 --- a/gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp +++ b/gdb/testsuite/gdb.dwarf2/dynarr-ptr.exp @@ -120,7 +120,7 @@ Dwarf::assemble $asm_file { # the compiler. if { [prepare_for_testing "failed to prepare" ${testfile} \ - [list $srcfile $asm_file] {nodebug}] } { + [list $srcfile $asm_file] {nodebug}] } { return -1 } @@ -133,219 +133,219 @@ gdb_test_no_output "set language ada" # foo.three_ptr.all gdb_test "print foo.three_ptr.all" \ - " = \\(1, 2, 3\\)" + " = \\(1, 2, 3\\)" gdb_test "print foo.three_ptr.all(1)" \ - " = 1" + " = 1" gdb_test "print foo.three_ptr.all(2)" \ - " = 2" + " = 2" gdb_test "print foo.three_ptr.all(3)" \ - " = 3" + " = 3" gdb_test "print foo.three_ptr.all'first" \ - " = 1" + " = 1" gdb_test "print foo.three_ptr.all'last" \ - " = 3" + " = 3" gdb_test "print foo.three_ptr.all'length" \ - " = 3" + " = 3" gdb_test "ptype foo.three_ptr.all" \ - " = array \\(<>\\) of integer" + " = array \\(<>\\) of integer" # foo.three_ptr gdb_test "print foo.three_ptr(1)" \ - " = 1" + " = 1" gdb_test "print foo.three_ptr(2)" \ - " = 2" + " = 2" gdb_test "print foo.three_ptr(3)" \ - " = 3" + " = 3" gdb_test "print foo.three_ptr'first" \ - " = 1" + " = 1" gdb_test "print foo.three_ptr'last" \ - " = 3" + " = 3" gdb_test "print foo.three_ptr'length" \ - " = 3" + " = 3" gdb_test "ptype foo.three_ptr" \ - " = access array \\(<>\\) of integer" + " = access array \\(<>\\) of integer" # foo.three_ptr_tdef.all gdb_test "print foo.three_ptr_tdef.all" \ - " = \\(1, 2, 3\\)" + " = \\(1, 2, 3\\)" gdb_test "print foo.three_ptr_tdef.all(1)" \ - " = 1" + " = 1" gdb_test "print foo.three_ptr_tdef.all(2)" \ - " = 2" + " = 2" gdb_test "print foo.three_ptr_tdef.all(3)" \ - " = 3" + " = 3" gdb_test "print foo.three_ptr_tdef.all'first" \ - " = 1" + " = 1" gdb_test "print foo.three_ptr_tdef.all'last" \ - " = 3" + " = 3" gdb_test "print foo.three_ptr_tdef.all'length" \ - " = 3" + " = 3" gdb_test "ptype foo.three_ptr_tdef.all" \ - " = array \\(<>\\) of integer" + " = array \\(<>\\) of integer" # foo.three_ptr_tdef gdb_test "print foo.three_ptr_tdef(1)" \ - " = 1" + " = 1" gdb_test "print foo.three_ptr_tdef(2)" \ - " = 2" + " = 2" gdb_test "print foo.three_ptr_tdef(3)" \ - " = 3" + " = 3" gdb_test "print foo.three_ptr_tdef'first" \ - " = 1" + " = 1" gdb_test "print foo.three_ptr_tdef'last" \ - " = 3" + " = 3" gdb_test "print foo.three_ptr_tdef'length" \ - " = 3" + " = 3" gdb_test "ptype foo.three_ptr_tdef" \ - " = access array \\(<>\\) of integer" + " = access array \\(<>\\) of integer" # foo.five_ptr.all gdb_test "print foo.five_ptr.all" \ - " = \\(2 => 5, 8, 13, 21, 34\\)" + " = \\(2 => 5, 8, 13, 21, 34\\)" gdb_test "print foo.five_ptr.all(2)" \ - " = 5" + " = 5" gdb_test "print foo.five_ptr.all(3)" \ - " = 8" + " = 8" gdb_test "print foo.five_ptr.all(4)" \ - " = 13" + " = 13" gdb_test "print foo.five_ptr.all(5)" \ - " = 21" + " = 21" gdb_test "print foo.five_ptr.all(6)" \ - " = 34" + " = 34" gdb_test "print foo.five_ptr.all'first" \ - " = 2" + " = 2" gdb_test "print foo.five_ptr.all'last" \ - " = 6" + " = 6" gdb_test "print foo.five_ptr.all'length" \ - " = 5" + " = 5" gdb_test "ptype foo.five_ptr.all" \ - " = array \\(<>\\) of integer" + " = array \\(<>\\) of integer" # foo.five_ptr gdb_test "print foo.five_ptr(2)" \ - " = 5" + " = 5" gdb_test "print foo.five_ptr(3)" \ - " = 8" + " = 8" gdb_test "print foo.five_ptr(4)" \ - " = 13" + " = 13" gdb_test "print foo.five_ptr(5)" \ - " = 21" + " = 21" gdb_test "print foo.five_ptr(6)" \ - " = 34" + " = 34" gdb_test "print foo.five_ptr'first" \ - " = 2" + " = 2" gdb_test "print foo.five_ptr'last" \ - " = 6" + " = 6" gdb_test "print foo.five_ptr'length" \ - " = 5" + " = 5" gdb_test "ptype foo.five_ptr" \ - " = access array \\(<>\\) of integer" + " = access array \\(<>\\) of integer" # foo.five_ptr_tdef.all gdb_test "print foo.five_ptr_tdef.all" \ - " = \\(2 => 5, 8, 13, 21, 34\\)" + " = \\(2 => 5, 8, 13, 21, 34\\)" gdb_test "print foo.five_ptr_tdef.all(2)" \ - " = 5" + " = 5" gdb_test "print foo.five_ptr_tdef.all(3)" \ - " = 8" + " = 8" gdb_test "print foo.five_ptr_tdef.all(4)" \ - " = 13" + " = 13" gdb_test "print foo.five_ptr_tdef.all(5)" \ - " = 21" + " = 21" gdb_test "print foo.five_ptr_tdef.all(6)" \ - " = 34" + " = 34" gdb_test "print foo.five_ptr_tdef.all'first" \ - " = 2" + " = 2" gdb_test "print foo.five_ptr_tdef.all'last" \ - " = 6" + " = 6" gdb_test "print foo.five_ptr_tdef.all'length" \ - " = 5" + " = 5" gdb_test "ptype foo.five_ptr_tdef.all" \ - " = array \\(<>\\) of integer" + " = array \\(<>\\) of integer" # foo.five_ptr_tdef gdb_test "print foo.five_ptr_tdef(2)" \ - " = 5" + " = 5" gdb_test "print foo.five_ptr_tdef(3)" \ - " = 8" + " = 8" gdb_test "print foo.five_ptr_tdef(4)" \ - " = 13" + " = 13" gdb_test "print foo.five_ptr_tdef(5)" \ - " = 21" + " = 21" gdb_test "print foo.five_ptr_tdef(6)" \ - " = 34" + " = 34" gdb_test "print foo.five_ptr_tdef'first" \ - " = 2" + " = 2" gdb_test "print foo.five_ptr_tdef'last" \ - " = 6" + " = 6" gdb_test "print foo.five_ptr_tdef'length" \ - " = 5" + " = 5" gdb_test "ptype foo.five_ptr_tdef" \ - " = access array \\(<>\\) of integer" + " = access array \\(<>\\) of integer"