From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) by sourceware.org (Postfix) with ESMTPS id D70A63858C83 for ; Wed, 11 Jan 2023 17:31:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D70A63858C83 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-il1-x12d.google.com with SMTP id g2so8222420ila.4 for ; Wed, 11 Jan 2023 09:31:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=RFe5wYcd2257Ubm0gMbBV524EVkgN6wleDLmJAZknJc=; b=YyORzzcNM+Ns1HEaXhgvaRsFYG2yFlWl8xiueWrMULoZIbHLu6H2hCBtunSWpNfGGy l+qRmKwQoniGKKXyeMm5mBdSqqpqxH/WqtXIb7PzqqLmQCI1BlUf6kBHlKJKRjfVb4XS 6Hylib/KB2I9qtKKQaahyuranrQT6VyF1BVR3dhhedPJusKi0iX1SJNny3One2fv9Ioj w/WQa6nVjkYhgw48C6S/ytJ0DOzrQ8ePAz/WFU7ooDfoccUC32R+TPVyPzq8AiniJZOn ihL/O61UlNDyup5V2YsNuHf2S1RoYageDJXooMMEUhhwQYysgkuiHm6FyenvIXzxky7T 9g6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RFe5wYcd2257Ubm0gMbBV524EVkgN6wleDLmJAZknJc=; b=xHZMMNnev8U0GbanmCSX/lLchPMgVgJUj6MqhW1BgLlICEdK7YJtEicXyjuwOhHTYm oNdazNrD9IZLzdRItnJ5ajO8q+X3+uKFdHeHYNngoHn0zk1Kmzv7pxLJTKOyjSMWPt1C cxev1n8Q3D4im96LLDGFL6MVR6lfB+uOgNMzpZI/3WhYdr0st6tZ0xHuqduAAeTn2BL3 E1m1/rNXoosMezmH2umoSnh5wuVcXditcTjizz46CwgpDNs1sfHR78oAYdEfRzVyKaa+ 8UnoQ0W4fKD5kyY2exCK1LTUdi24oPrkshzjUgixPgrluvEbDMJ4xyYiwLCcREN1R6vy IGqQ== X-Gm-Message-State: AFqh2kpZ/Z5xNbAvKOfsCTH0m6jrTnw2XyiT929SRK+Ip8VF28FbmCa3 sGN9rC7JhQeX0HQSn9O+rfRGMw== X-Google-Smtp-Source: AMrXdXtFpSGv/oJm/CIu1YdUCWdN3cBL4+QWFNE5kasH1Gskyjs406F5yxUCJWq2KW2oHe7WwoEBcw== X-Received: by 2002:a05:6e02:1ba9:b0:30b:fdb5:bd07 with SMTP id n9-20020a056e021ba900b0030bfdb5bd07mr52850465ili.1.1673458294152; Wed, 11 Jan 2023 09:31:34 -0800 (PST) Received: from murgatroyd (97-122-76-186.hlrn.qwest.net. [97.122.76.186]) by smtp.gmail.com with ESMTPSA id e61-20020a028643000000b0038a56fc3ca9sm4732315jai.124.2023.01.11.09.31.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 09:31:33 -0800 (PST) From: Tom Tromey To: Tom Tromey via Gdb-patches Cc: Tom Tromey , Eli Zaretskii Subject: Re: [PATCH 3/3] Let Python breakpoints be created silently References: <20221208191804.3819129-1-tromey@adacore.com> <20221208191804.3819129-4-tromey@adacore.com> X-Attribution: Tom Date: Wed, 11 Jan 2023 10:31:33 -0700 In-Reply-To: <20221208191804.3819129-4-tromey@adacore.com> (Tom Tromey via Gdb-patches's message of "Thu, 8 Dec 2022 12:18:04 -0700") Message-ID: <87eds16kqy.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP 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: >>>>> "Tom" == Tom Tromey via Gdb-patches writes: Tom> Currently, a breakpoint created from Python will always announce its Tom> presence; and in some cases (for example a pending breakpoint), other Tom> information will be printed as well. Tom> When scripting gdb, it's useful to be able to control the output in Tom> cases like this. I debated whether to simply disable the output Tom> entirely, but I thought perhaps some existing code acts as a simple Tom> "break"-like command and wants the output. Tom> This patch adds a new "announce" flag to gdb.Breakpoint. Setting this Tom> to False will cause gdb to be silent here. I think this one still needs a documentation review. Tom