From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Xr52M2EnbmAhegAAWB0awg (envelope-from ) for ; Wed, 07 Apr 2021 17:42:57 -0400 Received: by simark.ca (Postfix, from userid 112) id C5E581E965; Wed, 7 Apr 2021 17:42:57 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (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 simark.ca (Postfix) with ESMTPS id 271241E01F for ; Wed, 7 Apr 2021 17:42:57 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D44603857820; Wed, 7 Apr 2021 21:42:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D44603857820 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617831776; bh=4RO8TfzB4XsLg/CMeINI3wPfgkh7yzKjWPnA4vqwT1c=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=leBFcW4kmw2vpn5E+Q7wlGAbhQvybpjaodlAZXSepePGE+NN4B9U/tdNQXmTm7Mln uNpnSFWgFmsGp+akCovXxwqUNSmbpxcbj3KE2VD+mACZszmxFXL6lkIEyIBToRRuFk qVzhhQofccJ46VRvkmx73iRpE+2ACVRU09jU9KOU= Received: from smtp.polymtl.ca (smtp.polymtl.ca [132.207.4.11]) by sourceware.org (Postfix) with ESMTPS id 86D8D385801D for ; Wed, 7 Apr 2021 21:42:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 86D8D385801D Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 137LgjK0017699 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 7 Apr 2021 17:42:50 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 137LgjK0017699 Received: from [10.0.0.11] (192-222-157-6.qc.cable.ebox.net [192.222.157.6]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 355871E01F; Wed, 7 Apr 2021 17:42:45 -0400 (EDT) Subject: Re: [PATCH 1/4] gdb/doc: update the 'enabled' field's description for BP locations in MI To: Tankut Baris Aktemur , gdb-patches@sourceware.org References: <8895692d5366d94633391a459b7f94fb9a4eda64.1617806598.git.tankut.baris.aktemur@intel.com> Message-ID: Date: Wed, 7 Apr 2021 17:42:45 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <8895692d5366d94633391a459b7f94fb9a4eda64.1617806598.git.tankut.baris.aktemur@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Wed, 7 Apr 2021 21:42:45 +0000 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: , From: Simon Marchi via Gdb-patches Reply-To: Simon Marchi Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 2021-04-07 10:55 a.m., Tankut Baris Aktemur via Gdb-patches wrote: > Update the document to mention the "N*" value for the 'enabled' field > of breakpoint locations. Also remove the line about the 'enable' > field, because there is no such field for locations. Hi Baris, The asterisk in N* exists because it refers to the bottom note in the CLI output: (gdb) i b Num Type Disp Enb Address What 1 breakpoint keep y stop only if patate == 2 1.1 N* 0x00000000000011f7 in main at test.c:27 (*): Breakpoint condition is invalid at this location. If we didn't have that bottom note, I suppose the value would simply be "N" (and it would be very cryptic for CLI users). So I think it would make sense that for MI, we only output "N" as the enabled value, instead of "N*". Simon