From patchwork Thu Aug 29 09:39:18 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: 96666 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 4A2E4386180C for ; Thu, 29 Aug 2024 09:38:29 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by sourceware.org (Postfix) with ESMTPS id 164AC385E441 for ; Thu, 29 Aug 2024 09:38:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 164AC385E441 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 164AC385E441 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.135.223.130 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724924289; cv=none; b=hHtUuMKoDawO95PqXciMKNq9m88ADeoKFmIkNFupViTf8hLC5FaWFzM40NU5wL38rNsJnRqzVyqcR1aUjM5qPWtbXGFKMzDo9bRCdUBWOay0u4N/C2svFkXBXzo/dMQ0ZE5ygrQA9ybzCBIL0cpMITYCCAQQOFj8zxMJzW7T9IQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724924289; c=relaxed/simple; bh=0PRpdoLpwj+FjwbPF2N5Jp5L8xmlwOqZoBGNd1ECjEM=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-Id:MIME-Version; b=SQEw+O8UYvVTXhko2mcr4GuEpXfgFJm3LXOZALuWV9vzhKuqQY15YtvHyzN/s6X3aJuGJHhJ09B+R+d80kcfKIC4+yeCaxeaWnZboK6KKz1o08gdpnDvA4hO+fM+F5d8YUwVrJzsJA4/kaoSAjYaV9p5cwVAeCbdGRMvC2+g9Co= 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-out1.suse.de (Postfix) with ESMTPS id 319AD219DF for ; Thu, 29 Aug 2024 09:38:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1724924287; 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=4Pk8KfP081ds4+31gWB7lHkFCUbkWldQvMyq97NvAG0=; b=xrL6QR1n7Y5q4p4Zw/wCftxpWhP8R3EBcr4oADjgoHiRPB3G1n0CfG0ssOu2ExIggE52W9 0IdSUubeQkh/8v83T+kMLy19Ia5XjMReMv2KxaHkjakdY/52XkmHzwYpHoJqgOm/XX6sN/ NMjwunGKweieiijQ5u6IQ+3J0xc972A= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1724924287; 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=4Pk8KfP081ds4+31gWB7lHkFCUbkWldQvMyq97NvAG0=; b=s1OO4ggd522ZyzRC+JYnM/x0fxUuF8C5Pm9OEdYs/sJygBgIo9DpZRec9M2FXds/8akZFp sIa+TV+m8MWb/0DQ== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1724924287; 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=4Pk8KfP081ds4+31gWB7lHkFCUbkWldQvMyq97NvAG0=; b=xrL6QR1n7Y5q4p4Zw/wCftxpWhP8R3EBcr4oADjgoHiRPB3G1n0CfG0ssOu2ExIggE52W9 0IdSUubeQkh/8v83T+kMLy19Ia5XjMReMv2KxaHkjakdY/52XkmHzwYpHoJqgOm/XX6sN/ NMjwunGKweieiijQ5u6IQ+3J0xc972A= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1724924287; 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=4Pk8KfP081ds4+31gWB7lHkFCUbkWldQvMyq97NvAG0=; b=s1OO4ggd522ZyzRC+JYnM/x0fxUuF8C5Pm9OEdYs/sJygBgIo9DpZRec9M2FXds/8akZFp sIa+TV+m8MWb/0DQ== 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 1AFD213408 for ; Thu, 29 Aug 2024 09:38:07 +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 1GLgBH9B0GYUdQAAD6G6ig (envelope-from ) for ; Thu, 29 Aug 2024 09:38:07 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [pushed] [gdb/testsuite] Fix another regexp in gdb.threads/stepi-over-clone.exp Date: Thu, 29 Aug 2024 11:39:18 +0200 Message-Id: <20240829093918.19437-1-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-Spam-Score: -2.80 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]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:mid,imap1.dmz-prg2.suse.org:helo]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; RCVD_TLS_ALL(0.00)[] X-Spam-Level: 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 On openSUSE Tumbleweed, I run into: ... (gdb) PASS: gdb.threads/stepi-over-clone.exp: catch process syscalls continue^M Continuing.^M ^M Catchpoint 2 (call to syscall clone3), __clone3 () at clone3.S:62^M (gdb) FAIL: gdb.threads/stepi-over-clone.exp: continue ... Fix this by updating another (see commit 8fbf220321d) regexp to also recognize __clone3. Tested on x86_64-linux. --- gdb/testsuite/gdb.threads/stepi-over-clone.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: b55b65bc56604e45fae38dea9a22eeb3ffa2b33e diff --git a/gdb/testsuite/gdb.threads/stepi-over-clone.exp b/gdb/testsuite/gdb.threads/stepi-over-clone.exp index da8bbf6a215..b93cfe69c7f 100644 --- a/gdb/testsuite/gdb.threads/stepi-over-clone.exp +++ b/gdb/testsuite/gdb.threads/stepi-over-clone.exp @@ -50,7 +50,7 @@ gdb_test_multiple "catch syscall group:process" "catch process syscalls" { set re_loc1 "$hex in (__)?clone\[23\]? \\(\\)" set re_loc2 "$decimal\[ \t\]+in \[^\r\n\]+" -set re_loc3 "clone\[23\]? \\(\\) at \[^:\]+:$decimal" +set re_loc3 "(__)?clone\[23\]? \\(\\) at \[^:\]+:$decimal" gdb_test "continue" \ "Catchpoint $decimal \\(call to syscall clone\[23\]?\\), ($re_loc1|$re_loc3).*"