From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id fFBTLSYS12qr6TgAWB0awg (envelope-from ) for ; Tue, 20 Oct 2026 03:03:02 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=trLWe2Jr; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9uvoKBCY; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=trLWe2Jr; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9uvoKBCY; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 354A61E050; Tue, 20 Oct 2026 03:03:02 -0400 (EDT) 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 vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (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 F0DF71E04F for ; Tue, 20 Oct 2026 03:02:56 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 22F7E4BB1C38 for ; Tue, 20 Oct 2026 07:02:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 22F7E4BB1C38 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=trLWe2Jr; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9uvoKBCY; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=trLWe2Jr; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9uvoKBCY Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by sourceware.org (Postfix) with ESMTPS id 249FF4B99F43 for ; Tue, 20 Oct 2026 07:02:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 249FF4B99F43 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 249FF4B99F43 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=195.135.223.130 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1792479720; cv=none; b=VaSMjYcpP+nYcfIy8yyw3Tt9s76nl+3cZ2nLdFjLAISH7YUR1OkihldZcvlF006SQhwJlQL5k2TRBb1DeVXEOkE9sIv2fwy1vbMzb1Hrz80ard6GFtSwkr5z4/lxsTaPKRRceRl3vM0xE7PEB08NbOe4AFcAxfoHnW7vI/iAkt8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1792479720; c=relaxed/simple; bh=/dZPfCTFQz4Yvf1nuNfYbIfaruVacLYHZWI9y+vi8Ys=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=D1NoQkKTJPF0+lbZxc7/Uq430su4LpovLhLR91HFk9IvPvOBsJ10fkKlbilpQ0zcLcf3962Ahsq5FEx9Y8LJJBn2k4kxeWTasS4mYyOWu5mLsRoWk3aUhcX6BoxL9k8SNCYmDDHy0KcqjRa4iR5zmqgc/bBCFUX7t23JPS2v6EI= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=trLWe2Jr; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9uvoKBCY; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=trLWe2Jr; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9uvoKBCY DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 249FF4B99F43 Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104: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 B661221DBA for ; Tue, 20 Oct 2026 07:01:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1792479718; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ybpnAscne+bXkQYyXNzoHP50WswcroMOl5lWradbhxM=; b=trLWe2JryCFptq6ysXxzTiUZ548X3WjBWxqiJ1gwiJ/+4FujdNmd+l2wb0V4VRjbqVfyzi XYxcWPBBnuLWZyH9QmMmiK/jSi4DjcYjsKyg+f2cg1qwXCRzqGfKXkIIHPnoLcNVk/Bqti tggQnC78L/jM7ZFhGIOrksMHHZSPVfk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1792479718; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ybpnAscne+bXkQYyXNzoHP50WswcroMOl5lWradbhxM=; b=9uvoKBCYtVZ1MY/w5ikcPKzCkR36WWA3CpTtv82vRDhEd1zMJt8X+Tdyk0jYZ6528dNat9 Ljsn+oxdeLoLGYBQ== Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=trLWe2Jr; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=9uvoKBCY DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1792479718; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ybpnAscne+bXkQYyXNzoHP50WswcroMOl5lWradbhxM=; b=trLWe2JryCFptq6ysXxzTiUZ548X3WjBWxqiJ1gwiJ/+4FujdNmd+l2wb0V4VRjbqVfyzi XYxcWPBBnuLWZyH9QmMmiK/jSi4DjcYjsKyg+f2cg1qwXCRzqGfKXkIIHPnoLcNVk/Bqti tggQnC78L/jM7ZFhGIOrksMHHZSPVfk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1792479718; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ybpnAscne+bXkQYyXNzoHP50WswcroMOl5lWradbhxM=; b=9uvoKBCYtVZ1MY/w5ikcPKzCkR36WWA3CpTtv82vRDhEd1zMJt8X+Tdyk0jYZ6528dNat9 Ljsn+oxdeLoLGYBQ== 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 6407B13800 for ; Tue, 20 Oct 2026 07:01:58 +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 8IYQA+YR12oDYgAAD6G6ig:T3 (envelope-from ) for ; Tue, 20 Oct 2026 07:01:58 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [pushed 2/3] [gdb/testsuite] Use have_gnu_debuglink in two more test-cases Date: Tue, 20 Oct 2026 09:01:56 +0200 Message-ID: <20261020070157.2414518-3-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20261020070157.2414518-1-tdevries@suse.de> References: <20261020070157.2414518-1-tdevries@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Action: no action X-Spamd-Result: default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[100.00%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns,suse.de:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:106:10:150:64:167:received]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+] X-Rspamd-Queue-Id: B661221DBA X-Rspamd-Server: rspamd2.dmz-prg2.suse.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~public-inbox=simark.ca@sourceware.org When running test-cases gdb.debuginfod/crc_mismatch.exp and gdb.debuginfod/solib-with-soname.exp with target board cc-with-gnu-debuglink, we get: ... UNSUPPORTED: gdb.debuginfod/crc_mismatch.exp: \ cannot produce separate debug info files UNSUPPORTED: gdb.debuginfod/solib-with-soname.exp: \ debug information has been split to a separate file ... Use proc have_gnu_debuglink to get the more precise: ... UNSUPPORTED: gdb.debuginfod/crc_mismatch.exp: \ require failed: !have_gnu_debuglink $binfile UNSUPPORTED: gdb.debuginfod/solib-with-soname.exp: \ require failed: !have_gnu_debuglink $binfile ... --- gdb/testsuite/gdb.debuginfod/crc_mismatch.exp | 2 ++ gdb/testsuite/gdb.debuginfod/solib-with-soname.exp | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp b/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp index 35f91bff261..9bf65c4e0e6 100644 --- a/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp +++ b/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp @@ -31,6 +31,8 @@ if {[build_executable "build executable" $testfile $srcfile debug] == -1} { return } +require {!have_gnu_debuglink $binfile} + # The procedure gdb_gnu_strip_debug will produce an executable called # ${binfile}, which is just like the executable ($binfile) but without # the debuginfo. Instead $binfile has a .gnu_debuglink section which diff --git a/gdb/testsuite/gdb.debuginfod/solib-with-soname.exp b/gdb/testsuite/gdb.debuginfod/solib-with-soname.exp index 12f0011d457..af6d548c37d 100644 --- a/gdb/testsuite/gdb.debuginfod/solib-with-soname.exp +++ b/gdb/testsuite/gdb.debuginfod/solib-with-soname.exp @@ -103,16 +103,14 @@ require {expect_build_id_in_core_file $binfile} # If the board file is automatically splitting the debug information # into a separate file (e.g. the cc-with-gnu-debuglink.exp board) then # this test isn't going to work. +require {!have_gnu_debuglink $binfile} + clean_restart gdb_file_cmd $binfile if {$gdb_file_cmd_debug_info ne "debug"} { unsupported "failed to find debug information" return } -if {[regexp "${testfile}.debug" $gdb_file_cmd_msg]} { - unsupported "debug information has been split to a separate file" - return -} # Run BINFILE which will generate a corefile. set corefile [core_find $binfile] -- 2.51.0