From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) by sourceware.org (Postfix) with ESMTPS id 16A4B3858C39 for ; Fri, 13 Jan 2023 18:57:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 16A4B3858C39 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-qv1-xf34.google.com with SMTP id l14so11540700qvw.12 for ; Fri, 13 Jan 2023 10:57:01 -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=7ehoUlsfQ5rTsZ7IWgaxomj0qaJ7uh1qe1fZswYpF1w=; b=CZ5Ana0BtS0RwLTMmOU9ny1DtAw8bB13kEmTw32U8JjE/EFNkdNONB4Eb/aQ5m8/VL Hhcb1cvLmMVkNU+9YSLldXXp38FLmJchOj/8ctzw6eW19UGvCFmYE3X00EqAiedQ8eua 7SptjczuM8EvqXTWmY0PYCCFf4RFQ//YsOf1UWD6OwDDXETmhVzQLgNRst/t07Z+T1M1 Z1jjZyG5yjd3ncGeiQllibCNqfHvZZ7NK5Ian2f5oKg0rHkKK2XpozYMnKguqu5CK0Q2 T0+M7NaV4vfLxyI6y/myOeZUTUlCMMACk4a13azw70/EAbpVR4wKubNVrB9dH+Z7yq78 dZAQ== 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=7ehoUlsfQ5rTsZ7IWgaxomj0qaJ7uh1qe1fZswYpF1w=; b=0JQ3b1xeKS2vAWja0fmc1n5CIYfC3241wKWmt1CNxOGasU9uDn+fyFAy8rrXsZaeiG v+cML+A0ch3NND3kMbGV5a2UoIEi1PzNoiFRuC1l0u+G15KpJO9U4TwHxV0pH17hS2ZC iv4fwOqcp/7EeSLdg8b8qdkcAdim4HYCwhv02i/QiSDIMEed9FsN+iYpHNynsfrMrPyW /psUUGmlWYmdNAbfl4rF+TAOPhMuSeL5vIp08LMDyWsLywaJTr4oWmdwCd74vU+eVNs8 OWjV609MN/ENzMjGg8ew7H3w6xfjgdjoTDvcec/cLFJKgpD1jZmVxbwc/292cI1F0bVh 63lw== X-Gm-Message-State: AFqh2kootpYAEddiybNiNup3l8g2ciV/e9XtclnJeWU729IOuJxou9uX CnahJ4t8zbznyw8Vdv7X0UxLUydhOoeBCZDL X-Google-Smtp-Source: AMrXdXvWX0T6xpytVM1+mvIlLB+Th/+HOGQvdGND84su4g/XxXXQqk8AWbQsmlxy3Q3PY31geYDZ7Q== X-Received: by 2002:a05:6214:4213:b0:531:e6dd:8aad with SMTP id nd19-20020a056214421300b00531e6dd8aadmr16528874qvb.26.1673636220494; Fri, 13 Jan 2023 10:57:00 -0800 (PST) Received: from murgatroyd (97-122-76-186.hlrn.qwest.net. [97.122.76.186]) by smtp.gmail.com with ESMTPSA id l14-20020a05620a28ce00b007062139ecb3sm1225847qkp.95.2023.01.13.10.56.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 10:57:00 -0800 (PST) From: Tom Tromey To: Pedro Alves Cc: Tom Tromey , gdb-patches@sourceware.org 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: Fri, 13 Jan 2023 11:56:59 -0700 In-Reply-To: (Pedro Alves's message of "Fri, 13 Jan 2023 12:59:48 +0000") Message-ID: <87pmbi4610.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.4 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: >>>>> "Pedro" == Pedro Alves writes: Pedro> Wouldn't making the breakpoint "internal" work for the same effect? No: (gdb) python gdb.Breakpoint("nosuch", internal=True) No symbol table is loaded. Use the "file" command. (gdb) python gdb.Breakpoint("nosuch", announce=False) (gdb) I didn't really think about it though. I guess 'internal' could maybe be reused to disable the other message as well. Tom