From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by sourceware.org (Postfix) with ESMTPS id 740CA384F48F for ; Fri, 18 Nov 2022 12:14:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 740CA384F48F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-x532.google.com with SMTP id s196so4865121pgs.3 for ; Fri, 18 Nov 2022 04:14:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=7QSk0n75U72fy5QuEUN4sR50ieuz+WipCdJ/jKagW2U=; b=ArJKYda9WoTpQbZDx39qocxsqUXYTnWjo77QKZIOV9FaIpTMnjgq8EonSdT6ajjQ3e Jnx5+CW+/Dj2N64QLSdGxKkZpcwPevNUo0t5U+Nt8y9h2WPd5MUbCBvvig/9rZSHljcI OojbkSrIthSn3SAVqKwD4crLt4lF13MiOqdWoavYG703Si5sX5Fb3L56GEsV4Ic0M0ni lXLUCb2aE2UsiR+KFpBAgPbOSkALJH1INHCQDuWBWh/sjEb5mrGhSMkCrUW8Dtv5VwRu Q9SuMDGb0Vt6GyAcALNOxwObESuuSTg7n8Qqt059yDO78qTXe2PIHbg4mEMrRLmTkTqL SGYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7QSk0n75U72fy5QuEUN4sR50ieuz+WipCdJ/jKagW2U=; b=RXVS48i5cpV3mYwd5fUpHBYr+2JDWDnawMWeaf30ZuWAFdLcAAjY2E9ukQPMQQe1eS MywlQrWH0RxDLXJmWQD6kst5KhQ5YKJYSyUtvhT301DIjEUVyHKRl+ZEikOKGr167PFQ QGQm5/DJetCZ4KB6V+0vUxg++wzq8Cdb3BasAA9DQG6o5W9/cidSofHeWPj6t3x3gU5+ xG3QimEgRZJgfziepNmewBFxYC2C3kmE0Y/NNv9kr8XLEQR4zmh3WuP38m10TjI6UyRm SBpD6j2JPkGOsB2Eh/kGSu8oO/gqjC7WpLH2EVf7sV9gpnCEZUEyG/h85W42L4ZggXFa YJQg== X-Gm-Message-State: ANoB5pmGkmRUMA/qjQpE4ZOs9PggNurOWKg6L27uPs71Z4bDx4Q/2O8w iDJ/Cgo/loPgX6vwKGHt/44= X-Google-Smtp-Source: AA0mqf7ytToE1hG4YlwQkwyPeJUtjBZWPK8EJNuu8a01QpXl8fUNNywdDfk2Yye86iYrj+VYjUzHbw== X-Received: by 2002:a62:ed03:0:b0:558:99cc:8b40 with SMTP id u3-20020a62ed03000000b0055899cc8b40mr7487975pfh.25.1668773674320; Fri, 18 Nov 2022 04:14:34 -0800 (PST) Received: from [192.168.0.100] (intel10.cs.nthu.edu.tw. [140.114.89.60]) by smtp.gmail.com with ESMTPSA id ix11-20020a170902f80b00b001788ccecbf5sm3451141plb.31.2022.11.18.04.14.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Nov 2022 04:14:33 -0800 (PST) Message-ID: Date: Fri, 18 Nov 2022 20:14:29 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: [PING^2] [PATCH v2] [gdb/python] Replace gdbpy_should_stop with gdbpy_breakpoint_cond_says_stop Content-Language: en-US To: BrunoLarsen , gdb-patches@sourceware.org References: <20220923060027.78902-1-j3.soon777@gmail.com> <20221020182456.2701-1-j3.soon777@gmail.com> From: Johnson Sun In-Reply-To: <20221020182456.2701-1-j3.soon777@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-10.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,GIT_PATCH_0,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: Ping for: . Johnson On 10/21/2022 2:24 AM, Johnson Sun wrote: > In 2014, the function `gdbpy_should_stop' has been replaced with > `gdbpy_breakpoint_cond_says_stop' > > This replaces `gdbpy_should_stop' with `gdbpy_breakpoint_cond_says_stop' in the > comments. > > Since `gdbpy_should_stop' has been renamed as noted in `gdb/ChangeLog-2014': > > * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed > from gdbpy_should_stop. Change result type to enum scr_bp_stop. > --- > gdb/python/py-finishbreakpoint.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gdb/python/py-finishbreakpoint.c b/gdb/python/py-finishbreakpoint.c > index c80096f6810..dcf86317779 100644 > --- a/gdb/python/py-finishbreakpoint.c > +++ b/gdb/python/py-finishbreakpoint.c > @@ -90,7 +90,7 @@ bpfinishpy_dealloc (PyObject *self) > Py_TYPE (self)->tp_free (self); > } > > -/* Triggered when gdbpy_should_stop is about to execute the `stop' callback > +/* Triggered when gdbpy_breakpoint_cond_says_stop is about to execute the `stop' callback > of the gdb.FinishBreakpoint object BP_OBJ. Will compute and cache the > `return_value', if possible. */ > > @@ -134,7 +134,7 @@ bpfinishpy_pre_stop_hook (struct gdbpy_breakpoint_object *bp_obj) > } > } > > -/* Triggered when gdbpy_should_stop has triggered the `stop' callback > +/* Triggered when gdbpy_breakpoint_cond_says_stop has triggered the `stop' callback > of the gdb.FinishBreakpoint object BP_OBJ. */ > > void