Message ID | 20230421145833.24521-1-tdevries@suse.de |
---|---|
Headers |
Return-Path: <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> 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 2E4E23856974 for <patchwork@sourceware.org>; Fri, 21 Apr 2023 14:59:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2E4E23856974 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1682089145; bh=v5iRj/fODYjg1095Vl10jA1BYjZeXWn5JnjB/laU3B4=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=nyGCLlE9qpYmXXBEjIKqbvTi3N/IwAy+dCSmWe+RA97gpT9LEFKOprxQDD/R5lGA6 xYLqndqx4t22SC5W/3KpNp53Gio4fjcOmKqW1yu2ULWJyFoVoi4VqkyKd6IXMjJsv0 SN7c/1c5g+XRnUCIkyN7dW+vnptafCXcpGv7Nhig= 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.220.29]) by sourceware.org (Postfix) with ESMTPS id 6AB10385700B for <gdb-patches@sourceware.org>; Fri, 21 Apr 2023 14:58:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6AB10385700B 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 <gdb-patches@sourceware.org>; Fri, 21 Apr 2023 14:58:40 +0000 (UTC) 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 <gdb-patches@sourceware.org>; 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 <tdevries@suse.de>) for <gdb-patches@sourceware.org>; Fri, 21 Apr 2023 14:58:40 +0000 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 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> From: Tom de Vries via Gdb-patches <gdb-patches@sourceware.org> Reply-To: Tom de Vries <tdevries@suse.de> Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
Fix gdb.gdb/python-helper.exp with -O2 -flto
|
|
Message
Tom de Vries
April 21, 2023, 2:58 p.m. UTC
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
Comments
>>>>> "Tom" == Tom de Vries via Gdb-patches <gdb-patches@sourceware.org> writes:
Tom> Fix test-case gdb.gdb/python-helper.exp when gdb is build with -O2 -flto=auto,
Tom> both on openSUSE Leap 15.4 and Tumbleweed.
Tom> There are three patches.
Tom> The first fixes a testsuite problem that is required for the second patch.
Tom> The second contains the actual fix.
Tom> The third addresses a cosmetic issue in the same test-case.
Tom> Tested on x86_64-linux.
FWIW these all seem fine to me. Thanks for doing this.
Tom