From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id WB/bEC+jvmhtujYAWB0awg (envelope-from ) for ; Mon, 08 Sep 2025 05:34:39 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=a4LjKB/Z; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 2CEEE1E04C; Mon, 08 Sep 2025 05:34:39 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_SBL_CSS,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 B665A1E04C for ; Mon, 08 Sep 2025 05:34:38 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 123A13858CD9 for ; Mon, 8 Sep 2025 09:34:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 123A13858CD9 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=a4LjKB/Z Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id AC7953858405 for ; Mon, 8 Sep 2025 09:31:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AC7953858405 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AC7953858405 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757323903; cv=none; b=cFcOySAvpT/9QdRg7raBEV17hhmVQVu8Bj2vghs0pE6bgKkJRD1BwU3l/+JhLnm3/gUDQ0EyuJ7SCPvhoPfqCbTQjwI5YRHghFIHz4s1Mc2GOe4pV3OzBLiz+bjEHfyCoHQF2ab/LrzYkirwpJJWyla0G/TbP8fNNqNw1BoYWqs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757323903; c=relaxed/simple; bh=6JUYbjMqzQu2rq1l3AIGPPoyndDLRx+kUj48YmkGI9E=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=jPm92WyayHap4YGsC60yi/x7DO+u3I2cN2+WCWDzsw06RsmAhO6caag6f/WBzSVulx/3WmUDzP686m2jlPzdYz/X8tF1eHbAjtSb1pldNn3Z+Egyd1tYQHksgZ7JRuTpgOqavDBADKpOVJpXpjk0c9CXYMyyXhZ9c369UfOhkbc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AC7953858405 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1757323903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=aoi5iZQPWm4JO3RDhQvP11E6PgrcXXW6sE059g5Kl3s=; b=a4LjKB/Z39TYq4qE8vNTnRHvqtO7FURMP0r4DW4oSeMPegSh+FoDdZHM+NvKwrepC+8Pnc KQ9Kgb0i+6h7csrQB2j0750l4mbIomujY+1ZT1O0rdwkYy++5Pz82P4CDBAAYrLR/v4LCh 0/gJ3M2ca3dQ5AFZzesnBYZ+NZP+q6E= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-613-c3AWqt_TP4qivjx0YTpdxQ-1; Mon, 08 Sep 2025 05:31:42 -0400 X-MC-Unique: c3AWqt_TP4qivjx0YTpdxQ-1 X-Mimecast-MFC-AGG-ID: c3AWqt_TP4qivjx0YTpdxQ_1757323901 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-45b9ca27a11so21637585e9.1 for ; Mon, 08 Sep 2025 02:31:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757323901; x=1757928701; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aoi5iZQPWm4JO3RDhQvP11E6PgrcXXW6sE059g5Kl3s=; b=HWfhL+PjecN50Q7xLEs4SYqtT3WZeDmp7d00CPw7cuPeM8YJFB6Zbvs7EUCGFiQ6t0 XHJX4SyEwvz74LB9RCVpI+CgDoMBwBsFdK6Kbc1y4DAAxslx7uN9i+rGyYhvvMbQclNm xLp3nPRFypz4DzMpkuWqEH2v+CCRe/ztJ2l7/819mYKSSHbSj3WDEtxh03zJlQRFvLIr SLxq5uKaYNMblJVwN+d6qdRrk9oZQSiUF3L3rzXSHBuCanGycXq1hPoRGkkKgl922yMj NZwFfKwQrQH06xUAU1fCPre8f5NoERDQyjTrpJjzx6IUEDU8ApOmOit1dHrob/vU9t3p pXYQ== X-Gm-Message-State: AOJu0YzK6SxmCL6v94Mwloxj7y2WQNnjSWhIY5ICPGsJCEtzSh3saWyW I3A5ZSuK582ZjMo8sQnBoMF6CsUL8EVSIS2su0dbi8BLeYzQRThZAL8ZgCZeoVMYwwI05iVjqVq ohsvECqVyNMFJDH5ZwZCJoSW/2nSpmL6SgBBqyhHmHmoCY/7Kk17Z/9D5pB+T963ssgwtqqszwF GWRG8FRR+6PKf0wwz6ZrqFmBv2HVSZ1PmkzZtFkNwUFGbQSYg= X-Gm-Gg: ASbGncuqiP7eyTBLMduembcTNOQJgRewu50id1uIxXe9S9GceXzblZDHgXcw2KLGI6J nw9D95Y3ZVyL2ORl/P4wSk6lZBfm3r76lRuFSVS5quLtWaqijmKyWzUPNicgaEj8YdrYyEHd4M0 Q/8pss+2fYzbOyCIry9536jVgKhz0Kfp6MWxDpXD41KYAIzM7MhiZsN0c+dsRUG9HeAqh9m/KLW EE/K7zdx0VF/uTTWqHJ7saWis5Jfmy43NxWExOMjqg7ZbtsM+6TyzOrH4NDUrjIJXSZnS+wUboj e3tpNcMRf11qwbiAEwEtGqDcVrtmzsf6vJoCQiBnreuNo6Nyz2p9f0A19XS4uICS X-Received: by 2002:a05:600c:1390:b0:45d:5c71:769d with SMTP id 5b1f17b1804b1-45dde1b3265mr60368215e9.8.1757323900775; Mon, 08 Sep 2025 02:31:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHiET+LSHuUp47iC1m6vH8rfEiNYSYwWQ3U6cjWg2qIp8YAnu/6KC9ADx6+LpF5j5TQxFbWgw== X-Received: by 2002:a05:600c:1390:b0:45d:5c71:769d with SMTP id 5b1f17b1804b1-45dde1b3265mr60367885e9.8.1757323900244; Mon, 08 Sep 2025 02:31:40 -0700 (PDT) Received: from localhost (92.40.185.176.threembb.co.uk. [92.40.185.176]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45ddb779eb6sm119496085e9.8.2025.09.08.02.31.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Sep 2025 02:31:39 -0700 (PDT) From: Andrew Burgess To: gdb-patches@sourceware.org Subject: Re: [PUSHED] gdb/testsuite: small fix for amd64-extended-prologue-analysis.exp In-Reply-To: <8735dae5139ecf2d3a79508371c9c861fde12c44.1757323506.git.aburgess@redhat.com> References: <8735dae5139ecf2d3a79508371c9c861fde12c44.1757323506.git.aburgess@redhat.com> Date: Mon, 08 Sep 2025 10:31:38 +0100 Message-ID: <87a535i939.fsf@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Hty23XP5OzNlVDptRkuWUObCHn5q-zzPI7FZdYQQ3Xg_1757323901 X-Mimecast-Originator: redhat.com Content-Type: text/plain 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 Andrew Burgess writes: > I noticed I was sometimes getting this failure: > > FAIL: gdb.arch/amd64-extended-prologue-analysis.exp: offset \ > initialization: ASM source: gdb_breakpoint: set breakpoint \ > at *0x0000000000401151 > > The problem was introduced in commit: > > commit f9aa48dc545ef511e19f4dfab88a196b820fd2da > Date: Thu Aug 28 11:50:13 2025 +0000 > > gdb, amd64: extend the amd64 prologue analyzer to skip register pushes > > A gdb_test_multiple exits early when processing the results of a > 'disassemble' command, without waiting for the prompt to be seen. > This can leave unhandled output in expect's input buffer, which will > then throw off the next test. > > Update the gdb_test_multiple to wait for the prompt before declaring > the test passed. > > After this I'm no longer seeing the above failure. > > There should be no change in what is tested after this commit. I've also pushed this to the gdb-17-branch. Thanks, Andrew