From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 5WleNLDV1mXHbigAWB0awg (envelope-from ) for ; Thu, 22 Feb 2024 00:03:44 -0500 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=gxLemDZ+; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id C2F511E0D2; Thu, 22 Feb 2024 00:03:44 -0500 (EST) 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 A2B3A1E092 for ; Thu, 22 Feb 2024 00:03:42 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5AA863858402 for ; Thu, 22 Feb 2024 05:03:41 +0000 (GMT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id C96AC3858D33 for ; Thu, 22 Feb 2024 05:03:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C96AC3858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none 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 C96AC3858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708578203; cv=none; b=NzkZ2GcWgjOLZ8fLtVpAMlXdv62yMbXm7Q+MdUU3mBZhDmkVgikkWCYaQ8wfm2R4E4PCrtKm+9qP3/w9n0v/goTFOb+Og50SBT7hhl4AQD/WWINQVUUOZxJk7rCU8ZsNlMhJZsIOBgRonhRm3IwJCrflEepqLa8jH5j/QAkXtFY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708578203; c=relaxed/simple; bh=qdDPxvEZYFsT7OsJjgNIel8DIkON6HX/UZv+L6OKTWo=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=WQJI3GlJqI37gE5VqFZlS1T2BxcNktdfNrBMcNNZ0r75UCIVWThcB9IxhuTTTG3YLSFEH6I8fhXNCmyfKxlqga1ZsUn9muTpnTyaxYvwkPGEfJ3FPpLX014m7Q/aP7r5TCfEhnRdLBDJEX/HOKypJovkxrlyRjuym4/mRIQEPGo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708578192; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uuN4tUQY+up1Yap/W26BMkM5SKUzwRLLybKhjAUWxtI=; b=gxLemDZ+HsA16pjO26RvypAEvj36Bdi4PnpKfQMO9nb2ixtwMcEswlffSnSlOxbMRqbsCO csvWB1k2ivdOCGgBKNKOX7SqDAAPKX1Bp00l/uSyH3NNv0XWkrLNPeWDho3X5O22IgTuxa 0rXDQv9YwAhLkAGzJYPCQoddZwuzFc4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-52-8anfa04BPzuSAsmK_CIO4Q-1; Thu, 22 Feb 2024 00:03:11 -0500 X-MC-Unique: 8anfa04BPzuSAsmK_CIO4Q-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D68F81064C64; Thu, 22 Feb 2024 05:03:10 +0000 (UTC) Received: from f39-zbm-amd (unknown [10.22.16.106]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 25E5B2015B7E; Thu, 22 Feb 2024 05:03:08 +0000 (UTC) Date: Wed, 21 Feb 2024 22:03:06 -0700 From: Kevin Buettner To: Tiezhu Yang Cc: gdb-patches@sourceware.org, Tom Tromey , Guinevere Larsen , Eli Zaretskii Subject: Re: [PATCH v4] gdb: Modify the output of "info breakpoints" and "delete breakpoints" Message-ID: <20240221220306.7d3eba81@f39-zbm-amd> In-Reply-To: <20240222033601.1758-1-yangtiezhu@loongson.cn> References: <20240222033601.1758-1-yangtiezhu@loongson.cn> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, 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.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 On Thu, 22 Feb 2024 11:36:01 +0800 Tiezhu Yang wrote: > With this patch: > > (gdb) delete breakpoints > Delete all breakpoints, watchpoints, tracepoints, and catchpoints? (y or n) y > (gdb) info breakpoints > No breakpoints, watchpoints, tracepoints, or catchpoints. > (gdb) info breakpoints 3 > No breakpoint, watchpoint, tracepoint, or catchpoint matching '3'. > > Signed-off-by: Tiezhu Yang > Reviewed-By: Eli Zaretskii The non-documentation parts of this commit are okay. Please wait for Eli's approval on the documentation before pushing this commit. Approved-by: Kevin Buettner