From patchwork Tue Aug 27 09:49:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 96548 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 8DF6F385EC25 for ; Tue, 27 Aug 2024 09:49:24 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by sourceware.org (Postfix) with ESMTPS id 00A16385DDD2 for ; Tue, 27 Aug 2024 09:48:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 00A16385DDD2 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 00A16385DDD2 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724752136; cv=none; b=Kku3bJU2L8GdaAF4RXH1vCyI1+KhsSszU1mVDmyK94Z0LgIJjUVCwKfVaniW8xYaIcoXU/SEpRrBowG3oQBv8Y0Uymkm7mBVegDXbNFconzoH52NLXrlp/wfbVRvDuB4F9MpwfJL1fWCsONNIqcQEkO2TI1a11Hw+63FJks/bcw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724752136; c=relaxed/simple; bh=99OB0UD9LPyLjEj8e1TVzknrhS3DkELGy6XBdrkxc5s=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-Id:MIME-Version; b=vY77jhzdBgjdV2Wn5qq/HxBGKdMXXU2YHYmEF1PNGsM9ixIc6lcJS34mO7JIdzt+rmHo7Fu7SvwoIirkBogd3wqfmuvyyuYJpLOQ8SKoqzKlj+YG8g5CfiR2V/ACJbIS81rSaOQqH71R+UGa0cZwH0/o8TkWFD92WArXg8W7aK4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 1BC4D1FB57 for ; Tue, 27 Aug 2024 09:48:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1724752125; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ksCt/VuDA/El64wg5mPCmWmaPBjdcA+HxCwup/U/mVU=; b=hygIYKhaNCcjZwP0+kRer9u0+krh9g5V0rz28diXTqvwUny0SKUrh/x6AtoK0/47qFrHtl xMItZ5mD3P4wNOMRgRaDI25mhQzfV/Vg+QIqMv2ACSD68cZw2R09V9BYJiFMRmTc8lA2ct ZC1LNAZrTJqQ0UiQa+fW/wh4/r3rHEY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1724752125; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ksCt/VuDA/El64wg5mPCmWmaPBjdcA+HxCwup/U/mVU=; b=g8fvnAF/S/h5hrSXUccRDNU+1ByZWF0DaMbiRUKfL+6P3kCl18nPxaD7479dUF8r61NRXf NczBmE0Ieyoy8dAA== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1724752125; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ksCt/VuDA/El64wg5mPCmWmaPBjdcA+HxCwup/U/mVU=; b=hygIYKhaNCcjZwP0+kRer9u0+krh9g5V0rz28diXTqvwUny0SKUrh/x6AtoK0/47qFrHtl xMItZ5mD3P4wNOMRgRaDI25mhQzfV/Vg+QIqMv2ACSD68cZw2R09V9BYJiFMRmTc8lA2ct ZC1LNAZrTJqQ0UiQa+fW/wh4/r3rHEY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1724752125; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ksCt/VuDA/El64wg5mPCmWmaPBjdcA+HxCwup/U/mVU=; b=g8fvnAF/S/h5hrSXUccRDNU+1ByZWF0DaMbiRUKfL+6P3kCl18nPxaD7479dUF8r61NRXf NczBmE0Ieyoy8dAA== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 064A313A44 for ; Tue, 27 Aug 2024 09:48:45 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id Rr1PAP2gzWZSLAAAD6G6ig (envelope-from ) for ; Tue, 27 Aug 2024 09:48:45 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [pushed] [gdb/testsuite] Fix regexp in gdb.dwarf2/dw2-inter-cu-error.exp Date: Tue, 27 Aug 2024 11:49:47 +0200 Message-Id: <20240827094947.18646-1-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-Spam-Level: X-Spamd-Result: default: False [-2.80 / 50.00]; BAYES_HAM(-3.00)[99.99%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; TO_DN_NONE(0.00)[]; FROM_HAS_DN(0.00)[] X-Spam-Score: -2.80 X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, 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 In commit b5070480d74 ("[gdb/symtab] Change DWARF_ERROR from Dwarf Error to DWARF Error") I changed the dwarf error prefix, but failed to update test-case gdb.dwarf2/dw2-inter-cu-error.exp. Fix this by updating the corresponding regexp in the test-case. Tested on x86_64-linux. --- gdb/testsuite/gdb.dwarf2/dw2-inter-cu-error.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: fbf8e4c35c292620f8d25096b4341c3b5caa90ee diff --git a/gdb/testsuite/gdb.dwarf2/dw2-inter-cu-error.exp b/gdb/testsuite/gdb.dwarf2/dw2-inter-cu-error.exp index a628650f074..92ffcaeb515 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-inter-cu-error.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-inter-cu-error.exp @@ -47,5 +47,5 @@ if [prepare_for_testing "failed to prepare" $testfile \ } # Verify that GDB notices the null DIE. -gdb_assert { [regexp "Dwarf Error: Unexpected null DIE" $gdb_file_cmd_msg] } \ +gdb_assert { [regexp "DWARF Error: Unexpected null DIE" $gdb_file_cmd_msg] } \ "Null DIE error missing"