From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ATR5G4C6JGnDLioAWB0awg (envelope-from ) for ; Mon, 24 Nov 2025 15:05:20 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=labware.com header.i=@labware.com header.a=rsa-sha256 header.s=mimecast20220511 header.b=kmhzE0YP; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 6C98B1E0B6; Mon, 24 Nov 2025 15:05:20 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id BE7781E048 for ; Mon, 24 Nov 2025 15:05:18 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 13650385842C for ; Mon, 24 Nov 2025 20:05:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 13650385842C Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=labware.com header.i=@labware.com header.a=rsa-sha256 header.s=mimecast20220511 header.b=kmhzE0YP Received: from us-smtp-delivery-114.mimecast.com (us-smtp-delivery-114.mimecast.com [170.10.129.114]) by sourceware.org (Postfix) with ESMTP id C46243858407 for ; Mon, 24 Nov 2025 19:57:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C46243858407 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=labware.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=labware.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C46243858407 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.114 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764014238; cv=none; b=eY8WLU/Wv9u+fxYY5dToUASvvbGVtubdh0A7RJuCPI1QgRaBtH6SWeROmolrKwVB2lkexAirB+ZxclzEVhNVuuFitur3+ZBgGzpE24O/kci5j+gVqBg3bnHowKeTEwrp1Lf53RiUmc/FmzdA5dCSvGm9myAABe4RyN+JSBDQwig= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764014238; c=relaxed/simple; bh=9JJbO7WcngMCb3oE7cB03YH1dVfGcIT3R64vyFoqAKM=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=pOsRVg1hZhHeqEICWV5ao1rv/7ad2Cz4VsICklkOYKa5Md+x+uqWsnvGZSkcIna6SZDprPFBnRhJlVBDvX5FZEYQZdfzDvjoLVVBFSqBT5N6qbDcb8l1b2/FTfRekoZuUP8ibv700GYkuxezXMk2NWp4IFN4Og+mFxwePEp36yc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C46243858407 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=labware.com; s=mimecast20220511; t=1764014238; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z6/oR2oIu2NZgKF0GM9FWwJkOmtYEYPkf2lV4UfXy7s=; b=kmhzE0YPFLuLaK3dkvxoW8/JKB9SCgEkD9dyMQMJMVAsvMUXxculZEDxlNylnQaYunm2lM HymBaQQdAzpjJf5O5PSFjuk0bnanOprZv9GCJqQ5UPS1oPA0BmtOTht97G/haDdQnYFRrc O2/DfKhk/uikYfKHzU6nQxSogT85pRY= Received: from DM5PR21CU001.outbound.protection.outlook.com (mail-centralusazon11021120.outbound.protection.outlook.com [52.101.62.120]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-537-7LCxCPenOAuiBfAAZ35tjg-1; Mon, 24 Nov 2025 14:57:17 -0500 X-MC-Unique: 7LCxCPenOAuiBfAAZ35tjg-1 X-Mimecast-MFC-AGG-ID: 7LCxCPenOAuiBfAAZ35tjg_1764014236 Received: from SA1PR17MB5365.namprd17.prod.outlook.com (2603:10b6:806:1d8::11) by LV3PR17MB7191.namprd17.prod.outlook.com (2603:10b6:408:197::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9366.6; Mon, 24 Nov 2025 19:57:12 +0000 Received: from SA1PR17MB5365.namprd17.prod.outlook.com ([fe80::9a:538a:fa42:730e]) by SA1PR17MB5365.namprd17.prod.outlook.com ([fe80::9a:538a:fa42:730e%3]) with mapi id 15.20.9366.009; Mon, 24 Nov 2025 19:57:12 +0000 From: Jan Vrany To: gdb-patches@sourceware.org CC: Jan Vrany Subject: [PATCH v2 12/13] gdb/testsuite: fix few tests after change in readnow_functions Date: Mon, 24 Nov 2025 19:55:34 +0000 Message-ID: <20251124195535.2116845-13-jan.vrany@labware.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251124195535.2116845-1-jan.vrany@labware.com> References: <20251124195535.2116845-1-jan.vrany@labware.com> X-ClientProxiedBy: LO4P123CA0380.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18f::7) To SA1PR17MB5365.namprd17.prod.outlook.com (2603:10b6:806:1d8::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA1PR17MB5365:EE_|LV3PR17MB7191:EE_ X-MS-Office365-Filtering-Correlation-Id: cf7d306a-72d0-4432-9797-08de2b93a871 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016 X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?B1Zzu8YBuaV5A4qs+XNHrn6HqEXF1qkkos84ONNbQIpIeOtVyTrt621vOWIH?= =?us-ascii?Q?GK/Xb3Atq91OpgUqMkuErsZnvsoc4sYcBdsMfPHNsa+VHC4oujTS/RH2omz5?= =?us-ascii?Q?+QDymFYdIA08RBX63PrfYmrFuGt4D0fSBqVjBmtzUCw4AhlvquJj6anbEkjh?= =?us-ascii?Q?TCZkYJpEg32dr/oFPmDvMhjEc1ZJSF9YHxQ9QQtRQ/6dwyeLwm1k110kvSmm?= =?us-ascii?Q?aDwjtKpj5UujPRbHhuXI0bk3RLaDyr+xxSehFf/w9ZycG2seUtLTqw4gZG3b?= =?us-ascii?Q?Jgr6jcYkN8lI2RLCubsGmaW++IYFYF66ELTA7qT66KrkGOrZRl5FVFS46FBc?= =?us-ascii?Q?OtjHeAp6kC9b6e/bFnU2cDb8VauE35SxyFh5b0joN9WF6ekAmhFyVp+XWrsX?= =?us-ascii?Q?57+kRzORf4CLfZJxhxuC7WRGiGbspIifjW8W5XTW3t5tWDKmNx5SgvdVVs9S?= =?us-ascii?Q?s6CFpsoaRH1LGB3DYgyhPhUltOusIw7izhReM83cUeGp7hRvhGfhcfnPOHOa?= =?us-ascii?Q?i0yMvzteQHKj2iGzlBSEnT/AJxZPNjU3PCcJcnu7u02IhtDowR+D1hzS8yWZ?= =?us-ascii?Q?RrmF5xsdPsmAddXz5w1cRrMuSGbmLZO0k+/6jr+IEXAt+Ww1I7QBxfqaupno?= =?us-ascii?Q?Lr30rU5V2t9voG8OIHd3HS/ZdRz9tuZiCIpyjQCpbeS6kbWSjWZHaA25Meso?= =?us-ascii?Q?PX9dwQLqYcnsEDLeVs+xOiV2qvxP3YuIDd6KKM0N4P9DWieC2JxHRr1D7pDt?= =?us-ascii?Q?Wg+PWpEVSiLoKI368aGkvF5/lf6mwmWLQcD9Uctdvk03tldnxRYuw5YL+u8f?= =?us-ascii?Q?9AsIq1WlX7jzt2c29IFftMiXRRdiJ/jNpZdPbqEfLAoaNz7N/uO19LoUydBu?= =?us-ascii?Q?McU/ukFzGD6TCRglBAm8fScL4Oq/La+drz9ofiXjB9cS0EL/QMa2x/gyPFcJ?= =?us-ascii?Q?+KQq2cmrpWhZb3z33KqaaMjA9nHLDW5ag9ox5D9ODUHanfMZ0ATCz1GFwERS?= =?us-ascii?Q?hiHfTSL0/SWG9noMi4uZMj/0Pa4zlyuIkbNHl1IwZeUCMqLKlxpZSy/IxS2z?= =?us-ascii?Q?Hfg1ZSv9wjlYA26CVBlOjKIFWByZN2lHske6YSvqFnlGXV3Jc863gi5t6cc1?= =?us-ascii?Q?1FknIjQxLhM/YMYxbqHZLFEJHMDWn8gQQqBgj2+79h0cTm2mpMBpFk6xwbmp?= =?us-ascii?Q?ft+mCHgBxKn01qcBNJfbBgs/+UxT98zYBOlzDs6ZeGYV5nQh9q3x+P/O7Ng5?= =?us-ascii?Q?bTVPody9F7L2e4gmd2tz3xatEL5D2ZeCXqtZ9O1k8/RxhkiTwUbAMfB94hjo?= =?us-ascii?Q?wjDrGoJm2hIQz+1wqAWgR7X9tlozv2tXSFu0dn6onpZGCr6s5vqUwamwmXBe?= =?us-ascii?Q?wIt8EyZHgmkEiYkArlFJKjC55ZFvgr+FbaPwpItc9aHfZgFRTLLpUFEJ6yht?= =?us-ascii?Q?ZZqkwjqofkCjjQLDdQCO4YC0bCm9GSB8?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA1PR17MB5365.namprd17.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(366016); DIR:OUT; SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?HpJJN6WAV7Zr19lo3ZE+RE1lpI6Kwmrs7Fu9/jiEK6a1omk+39p21gYpJZcJ?= =?us-ascii?Q?ATI0d5LhtcPq+IBZriSq4hZ+3wScrWHjGa3d0PiUMsUUEPjEBsN+b6Aqo35w?= =?us-ascii?Q?d/a3kEVaqIdY8JI2zi4p3Hkmg9cIjXF9EJLTSbNN76AxvvMHRaiN2MqSUA64?= =?us-ascii?Q?jXIQJvNQ1W1/ZirstpIficLjvpExpEH3BkqCjpWWS21hMaR8E/PiUMbh9qjS?= =?us-ascii?Q?LnrODqPAOfaelTevx5zXmQz42tmMwyJR8eG1tQHloayLqrkq4vpkTL7oPNCZ?= =?us-ascii?Q?29XzAXfckEhxKkpO5YsFkKclVmBLzbBwMzsnXLugqLj8uBa/sgl9ChPIw0YO?= =?us-ascii?Q?B0FxVL8Gnkmn948MH0KEl3kAtD7ljA5SC5iozEt6at52/QngBs6G374twMcB?= =?us-ascii?Q?SSPs3lwigxt4A6DoBPmOEBcX+nu4OSIlLEmGKvuyhhr+KzbgC2AzmTFAXd0E?= =?us-ascii?Q?2n2G2mJGA9GBuk8roR+E+DjEGYK8f2Z42g9kou4m/Bd7yPbTA2iw/9QwPLI+?= =?us-ascii?Q?8V6DTDd+ITwAga9ZOYC5fpTYqlSuNU7xD01yQnFC2L5rnquCOwQk6Q5Uf3j2?= =?us-ascii?Q?wxMEZ1XDqLFE+OxaOiK1cYtqMiH6Lfda1OdRFC1psRI2ENiVRbgzNLDr89xM?= =?us-ascii?Q?Uw0WtEBAUgH4IlDGsCX+VE8eoqCr7JS07wIaHo6df6PKRQwVXt9aR5qGV3+j?= =?us-ascii?Q?Bgtp6/j5RvMDgdwVzyUADSZ2EmXvVThTbZmJ/TASW6lUd7/92zjgbFbaOn85?= =?us-ascii?Q?GT5tZi6AUD1Q7xC8Gs7rMHDSwceYNsq+Za59x2+imFLk5kAhLKJy5H0FlpyN?= =?us-ascii?Q?Gph5PQpjgQNBIlsUdsGbqFn+1oUPNOb3Lp/dFwiLvqo79BP5Kib2u2gT0Jz8?= =?us-ascii?Q?CCnel6SL6HRVHJJb3aYYn1YPU045m7HDbIpK0RJcTfFPEwkowI3PA3Bgldeq?= =?us-ascii?Q?nM+ly8sMdGllyUielCgBXDuvJd35L2s/5X2WAgTdsk+yBkisXwPQFndQZZ1f?= =?us-ascii?Q?/ApMXn+NJrcnN+qJMptKt8T0YXF4KAkiyZY0R5pGLFjaLmlfG3T/2q7Qz2/p?= =?us-ascii?Q?n28esju0zcxr0D7w4aBe7OD7N6/UbH3d5fdDIuanGmjckFn0SxL218pw6+vX?= =?us-ascii?Q?Cckvrv4W+nj2DY5b747SYiGvTXqGFyr3W39o0WuoeYGteVuJqop3a3A5HuKg?= =?us-ascii?Q?RRGW1eqvx3tf7Jh9Gfr/QRDKgOV+uUqGrFgYzVMXoU+hmUzJuc3r+8Fo+c2h?= =?us-ascii?Q?gvBULk8W/logEQS+rUamaR1zoztEvYwQ3oRrqz/Ci533AAT4nppteJhUy1VV?= =?us-ascii?Q?XrZgTF/jkmj1/iXwFhAbEQ60lX3GHBeS+SRz4xWdp8YdPA5SSQJG34FmTVFw?= =?us-ascii?Q?/U+e2vCx7zfrlUjAgvBWkfwaeLgvCHosC7JYP4Ud5e6e0CSXOWkrOvEMGFkd?= =?us-ascii?Q?uVAcsVef57LEiYixjxhkJX29eX5z0tBYah6FGixFkVeNfHsBxv7gM56xtnHi?= =?us-ascii?Q?0t65bLvH1cLwCr8RBwxJvT9Ixdg70VaOMZxNkxn6YjXjK1xikFvxic7yDFFA?= =?us-ascii?Q?Qs/WHLhKjc1Ce5PpjGG+Lfh80eoK/eNmhyxjJxHf?= X-OriginatorOrg: labware.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf7d306a-72d0-4432-9797-08de2b93a871 X-MS-Exchange-CrossTenant-AuthSource: SA1PR17MB5365.namprd17.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2025 19:57:12.1048 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b5db0322-1aa0-4c0a-859c-ad0f96966f4c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: z9nGxQ5myeQVKiaKYW3lncnYF3oO5FFK4X0hZ7TC7B1PxgaPrgg4y/ThqUCtV/TTM69IGoDXi595x2Bmc927PQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR17MB7191 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: v1NhCWh1jfQfHUVPFDeXj5rO9KwpcQweq7XeZZkouCI_1764014236 X-Mimecast-Originator: labware.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=WINDOWS-1252 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~public-inbox=simark.ca@sourceware.org When loading a file with -readnow, GDB prints message like: Reading symbols from some_program... Expanding full symbols from some_program... Commit "gdb: implement readnow_functions::expand_all_symtabs" caused slight in output when there are any "complaints" - since after this change, CUs are instantiated before call to expand_all_symtabs and therefore "complaits" are printed before "Expanding full symbols...", breaking dw2-zero-range.exp, build-id-no-debug-warning.exp and crc_mismatch.exp This commit fixes the issue by allowing "complaint" occur either in between "Reading ..." and "Expanding ..." messages (currently the case of DWARF and -readnow) or after "Expanding ..." message (the case without -readnow). --- .../gdb.debuginfod/build-id-no-debug-warning.exp | 10 ++++++---- gdb/testsuite/gdb.debuginfod/crc_mismatch.exp | 10 ++++++---- gdb/testsuite/gdb.dwarf2/dw2-zero-range.exp | 10 ++++++++++ 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/gdb/testsuite/gdb.debuginfod/build-id-no-debug-warning.exp b/g= db/testsuite/gdb.debuginfod/build-id-no-debug-warning.exp index 7a0cfda627c..e56538f721d 100644 --- a/gdb/testsuite/gdb.debuginfod/build-id-no-debug-warning.exp +++ b/gdb/testsuite/gdb.debuginfod/build-id-no-debug-warning.exp @@ -79,10 +79,11 @@ gdb_test_no_output "set debug-file-directory ${debug_fi= le_directory}" \ =20 # Now load the file into GDB, and look for the warning. set debug_file_re [string_to_regexp $build_id_debug_file] +set expanding_re "\r\nExpanding full symbols from $debug_file_re\\.\\.\\." gdb_test "file ${build_id_debug_file}" \ [multi_line \ -=09 "Reading symbols from $debug_file_re\\.\\.\\." \ -=09 "warning: \"$debug_file_re\": separate debug info file has no debug in= fo" \ +=09 "Reading symbols from $debug_file_re\\.\\.\\.($expanding_re)?" \ +=09 "warning: \"$debug_file_re\": separate debug info file has no debug in= fo($expanding_re)?" \ =09 "\\(No debugging symbols found in \[^\r\n\]+\\)"] \ "load test file, expect a warning" =20 @@ -97,11 +98,12 @@ with_test_prefix "check styling" { =20 =09# Now load the file into GDB, and look for the warning. =09set debug_file_re [style [string_to_regexp $build_id_debug_file] file] +=09set expanding_re "\r\nExpanding full symbols from $debug_file_re\\.\\.\= \." =20 =09gdb_test "file ${build_id_debug_file}" \ =09 [multi_line \ -=09=09 "Reading symbols from $debug_file_re\\.\\.\\." \ -=09=09 "warning: \"$debug_file_re\": separate debug info file has no debug= info" \ +=09=09 "Reading symbols from $debug_file_re\\.\\.\\.($expanding_re)?" \ +=09=09 "warning: \"$debug_file_re\": separate debug info file has no debug= info($expanding_re)?" \ =09=09 "\\(No debugging symbols found in \[^\r\n\]+\\)"] \ =09 "load test file, expect a warning" } diff --git a/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp b/gdb/testsuite/= gdb.debuginfod/crc_mismatch.exp index e44748f8205..2771d333d46 100644 --- a/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp +++ b/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp @@ -47,6 +47,8 @@ remote_exec build "mkdir $debugdir" remote_exec build "mkdir -p [file dirname $debugfile]" remote_exec build "mv -f [standard_output_file ${testfile}.debug] $debugfi= le" =20 +set expanding_re "\r\nExpanding full symbols from .+\\.\\.\\." + # Test CRC mismatch is reported. if {[build_executable crc_mismatch.exp crc_mismatch-2 crc_mismatch-2.c deb= ug] !=3D -1 && ![gdb_gnu_strip_debug [standard_output_file crc_mismatch-2]]} { @@ -63,8 +65,8 @@ if {[build_executable crc_mismatch.exp crc_mismatch-2 crc= _mismatch-2.c debug] !=3D set escapedobjdirsubdir [string_to_regexp [standard_output_file {}]] gdb_test "file [standard_output_file crc_mismatch-2]" \ =09[multi_line \ -=09 "Reading symbols from ${escapedobjdirsubdir}/crc_mismatch-2\\.\\.\= \." \ -=09 "warning: the debug information found in \"${escapedobjdirsubdir}/= crc_mismatch-2\\.debug\" does not match \"${escapedobjdirsubdir}/crc_mismat= ch-2\" \\(CRC mismatch\\)\\." \ +=09 "Reading symbols from ${escapedobjdirsubdir}/crc_mismatch-2\\.\\.\= \.($expanding_re)?" \ +=09 "warning: the debug information found in \"${escapedobjdirsubdir}/= crc_mismatch-2\\.debug\" does not match \"${escapedobjdirsubdir}/crc_mismat= ch-2\" \\(CRC mismatch\\)\\.($expanding_re)?" \ =09 "\\(No debugging symbols found in .*\\)"] \ =09"CRC mismatch is reported" =20 @@ -79,8 +81,8 @@ if {[build_executable crc_mismatch.exp crc_mismatch-2 crc= _mismatch-2.c debug] !=3D =20 =09 gdb_test "file [standard_output_file crc_mismatch-2]" \ =09=09[multi_line \ -=09=09 "Reading symbols from ${exe_file_re}\\.\\.\\." \ -=09=09 "warning: the debug information found in \"${debug_file_re}\" d= oes not match \"${exe_file_re}\" \\(CRC mismatch\\)\\." \ +=09=09 "Reading symbols from ${exe_file_re}\\.\\.\\.($expanding_re)?" = \ +=09=09 "warning: the debug information found in \"${debug_file_re}\" d= oes not match \"${exe_file_re}\" \\(CRC mismatch\\)\\.($expanding_re)?" \ =09=09 "\\(No debugging symbols found in \[^\r\n\]+\\)"] \ =09=09"CRC mismatch is reported" =09} diff --git a/gdb/testsuite/gdb.dwarf2/dw2-zero-range.exp b/gdb/testsuite/gd= b.dwarf2/dw2-zero-range.exp index d5faf6f74d0..79e48b24af1 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-zero-range.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-zero-range.exp @@ -164,6 +164,16 @@ foreach_with_prefix ranges_sect {ranges rnglists} { set complaint_re ".debug_${ranges_sect} entry has start address of zer= o" set complaint_re \ =09"During symbol reading: $complaint_re \\\[in module \[^\r\n\]*\\\]" + # Complaints may be printed before or after message + # + # Expanding full symbols from ... + # + # or + # + # Expanded full symbols from ... + # + set complaint_re \ +=09"${complaint_re}(\r\nExpanding full .*)?" =20 set readnow_p [readnow] =20 --=20 2.51.0