From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by sourceware.org (Postfix) with ESMTPS id 453D5384858D for ; Thu, 19 May 2022 12:42:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 453D5384858D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f47.google.com with SMTP id bd25-20020a05600c1f1900b0039485220e16so3720967wmb.0 for ; Thu, 19 May 2022 05:42:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=bH80jRjjZJDriSDIXRgd1dGIfDjHeK5eZduwXr+7faw=; b=3RGWnHyJ5PeKEB2vb7DVWPYB/29fDW3AyKkcGUp6ku9iYXBfDClj5ZfdQneKRP0Tie Rkm49EJwvd9wERerHOzDAlRea1ekj808ANIBuo6bZziGXNSPtUxpWlmEDeb8hLNGH405 dNFStptCKUPndSsRiavAuO8mNcjXkqlyH/iwe2RT7rJsim4esUGMDs8n77b/cl6iK3s2 CbYKv+mizbuN0B6kQmDytsCnNQheknQi7MPDIwzc14ifhgm4Io1s81bzvpbUTKn34GCK UTB3W7BXHOJxOnCH9qlqZA/J99euTvHfyKqX4QLB4IGJsimDzzE5cwZa5qwkHS7mLq1Y GNKA== X-Gm-Message-State: AOAM5332bRH3VsFjizxCszNkAKHzCJrV9ntLS2Jo2FzPcoTqqoXe4f2J TQFK5Ey8yPs3Cm5W2K7oslM= X-Google-Smtp-Source: ABdhPJwJSZG//VcoynWRt4GQTnshqVrW4f1XAR6yboQYIgIDTDO3lK/NsfMyu9GEnovKS2r7HYi+zA== X-Received: by 2002:a05:600c:5026:b0:394:92b4:7486 with SMTP id n38-20020a05600c502600b0039492b47486mr3608191wmr.65.1652964176255; Thu, 19 May 2022 05:42:56 -0700 (PDT) Received: from ?IPV6:2001:8a0:f924:2600:209d:85e2:409e:8726? ([2001:8a0:f924:2600:209d:85e2:409e:8726]) by smtp.gmail.com with ESMTPSA id k186-20020a1ca1c3000000b0039732f1b4a3sm1227010wme.14.2022.05.19.05.42.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 May 2022 05:42:55 -0700 (PDT) Message-ID: <865d12b0-0e9d-20b6-c161-d70645ce2f48@palves.net> Date: Thu, 19 May 2022 13:42:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [pushed] Support -prompt and -lbl in gdb_test (Re: [PATCH 5/5] Make gdb_test's question non-optional if specified) Content-Language: en-US To: Tom Tromey Cc: Tom de Vries , gdb-patches@sourceware.org References: <20220330192929.3161015-1-pedro@palves.net> <20220330192929.3161015-6-pedro@palves.net> <87o7zxeaa6.fsf@tromey.com> <87sfp7kc78.fsf@tromey.com> <8def622c-5396-d1e1-dfbb-a5732dd8183a@palves.net> <87ee0qinpy.fsf@tromey.com> From: Pedro Alves In-Reply-To: <87ee0qinpy.fsf@tromey.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2022 12:42:59 -0000 On 2022-05-18 21:34, Tom Tromey wrote: >>>>>> "Pedro" == Pedro Alves writes: > > Pedro> Instead of going back to how it used to be, I'm thinking of adding a new > Pedro> option to gdb_test, "gdb_test -nopass". The advantage of this approach is > Pedro> that we always have a message for the FAIL case this way, and, it's more > Pedro> explicit. > > I like this a lot more than the current approach. Alright, see here: https://sourceware.org/pipermail/gdb-patches/2022-May/189231.html