From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 6AB10385700B for ; Fri, 21 Apr 2023 14:58:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6AB10385700B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 9F2631FDDC for ; Fri, 21 Apr 2023 14:58:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1682089120; 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=v5iRj/fODYjg1095Vl10jA1BYjZeXWn5JnjB/laU3B4=; b=yTl59hPM08cMI0PePEO8bcRI/8g+3eGbyRrefn6d66KO8YzycgL1iUYSlGuK9CvQLa/OlG FygJyf5o1IgtzjLHQBLLqfLsg4x741y5c/7aO7eTNiLngwRxuba1RYAxC880/4Jal0gw/p dbQBKZqhAAP7FKJ64dC0fnYlV6yVKEA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1682089120; 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=v5iRj/fODYjg1095Vl10jA1BYjZeXWn5JnjB/laU3B4=; b=gArJ85UJs1v0csZm7Ymr1jqqzn/b1nG2mPSFfp64KfZ8sFpg4DOb+LC8VSuJzxRzI/auWP Hgb7vBUUk+lGIeAg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 7E9D51390E for ; Fri, 21 Apr 2023 14:58:40 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id TACoHaCkQmTqDAAAMHmgww (envelope-from ) for ; Fri, 21 Apr 2023 14:58:40 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 0/3] [gdb/testsuite] Fix gdb.gdb/python-helper.exp with -O2 -flto Date: Fri, 21 Apr 2023 16:58:30 +0200 Message-Id: <20230421145833.24521-1-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 List-Id: Fix test-case gdb.gdb/python-helper.exp when gdb is build with -O2 -flto=auto, both on openSUSE Leap 15.4 and Tumbleweed. There are three patches. The first fixes a testsuite problem that is required for the second patch. The second contains the actual fix. The third addresses a cosmetic issue in the same test-case. Tested on x86_64-linux. Tom de Vries (3): [gdb/testsuite] Fix -wrap in presence of -prompt in gdb_test_multiple [gdb/testsuite] Fix gdb.gdb/python-helper.exp with -O2 -flto [gdb/testsuite] Fix auto-indent in gdb.gdb/python-helper.exp gdb/testsuite/gdb.gdb/python-helper.exp | 89 +++++++++++++++++------- gdb/testsuite/gdb.testsuite/gdb-test.exp | 11 +++ gdb/testsuite/lib/gdb.exp | 2 +- 3 files changed, 76 insertions(+), 26 deletions(-) base-commit: fbdecfbf285234cd4eba0e7daf480c63b2d65eb3 -- 2.35.3