From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Kien Nguyen Newsgroups: gmane.emacs.devel Subject: Re: MPS: Win64 testers? Date: Sun, 1 Sep 2024 11:54:04 -0700 Message-ID: References: <87bk1k8mzd.fsf@protonmail.com> <861q2gs8xu.fsf@gnu.org> <877cc88j4p.fsf@protonmail.com> <86seuvre6x.fsf@gnu.org> <8734mv8yb6.fsf@protonmail.com> <87wmk54yk5.fsf@protonmail.com> <86r0a3ahm9.fsf@gnu.org> <86plpnacsd.fsf@gnu.org> <86jzfva8k3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18724"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sebastian@sebasmonia.com, pipcet@protonmail.com, emacs-devel@gnu.org, yantar92@posteo.net To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 01 21:29:15 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1skqGB-0004ll-No for ged-emacs-devel@m.gmane-mx.org; Sun, 01 Sep 2024 21:29:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1skqFW-0004qD-3U; Sun, 01 Sep 2024 15:28:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1skpiQ-0002Oa-SX for emacs-devel@gnu.org; Sun, 01 Sep 2024 14:54:22 -0400 Original-Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1skpiP-0004T2-Et; Sun, 01 Sep 2024 14:54:22 -0400 Original-Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-5bed83488b6so3310247a12.2; Sun, 01 Sep 2024 11:54:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725216858; x=1725821658; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xjgdPtaQYIO2CQTxeizAV97vcPkqvIz3bXaNyIcOfVg=; b=ZyX/MVxfbvfOi9jJ4ckoFpS1d8I6bi1vhSOn5jEk0LHZPK5IrB19rRIhg5cqNPNehp ABqPvXkMPKq6dUJmLVaZWTpCYDvEH+RNE2/sY1s+GnOU2xZC51bGFwJmFYmIaujTDQKJ TSJhMblaoqITfCk0JgUkQnuKct6SaScWP4eB7sXThWT949GyiHLv7njXm6RUZkUkhykt t+vG5fzXAIurma0+6Ji3oSv3dk2aTSEf6WmIfYtFoXq1491/zNGm7QgAAx30wTHynCtx 1/Fv7oEcQFgTQHcYUu22TPiyVnxq+4j1qGap/VFwLL6/wRinjLkSsSyn3cNn3aCpM3Yw zlww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725216858; x=1725821658; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xjgdPtaQYIO2CQTxeizAV97vcPkqvIz3bXaNyIcOfVg=; b=TM/R9uZPsHAql3i6iAd29oKtVXE/eOdqUcKaeSvzq7uLYhEO8yujjLpoQsxRN1rOyt yJ44QuAOIY7cKgXEPpIJh3p028ro9Xx6EARD9lWzm05puuBAtO676ndcqPFFB2urnuux 2pqgrFPJ2z+5jnN0TwaL5QGv87qGfRauj0kl6mYljFR54XU6LjD+aWoH8Xg3Eg6aQrmv F53l4ucv0Mp40mUKGY/9Cw0xQiOPVsAVLv9VBz74i52yOPnTNKTytIEQbvKAbZ/vnG67 wts3kWxro/oEyMm9tBz971222vyvonBXOLyi2UiA6uG4cjmIRcuUQPZxRemWzFIN1x4S v6kQ== X-Forwarded-Encrypted: i=1; AJvYcCUpvSRwh0C4FtzcpcUaO/CMdz7ukk9NrU40UhNvfRTYu5dsYWbXP6AY3kh7sMSrOlg45XhuSgpciu0Dmg==@gnu.org X-Gm-Message-State: AOJu0YwP5qrNRWG6YZV3pqHThAnivnuiKHpYo/BrYCKmvvYlFS0RSHTM WLu55pw2kOibj+9u+AEQkSwSWIwpVq4QCVouTaSEvOuGiMT2qEpkNwu61NnrlgDkTwzdf+yyGXB +yUY3nxqD59M8ZpEl7ACYhI2thhWR+X4yFJA= X-Google-Smtp-Source: AGHT+IGkDGsc0/zN6ocbgEm+lqYLrRWvJgbXCdo733P0UN4Yhy9fi9YXrH8rvlCLLia1Iuo3XDvHqZ2JskwKoO6I0lo= X-Received: by 2002:a05:6402:3595:b0:5c2:50a2:98a2 with SMTP id 4fb4d7f45d1cf-5c250a38f97mr1916636a12.6.1725216857566; Sun, 01 Sep 2024 11:54:17 -0700 (PDT) In-Reply-To: <86jzfva8k3.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=kien.n.quang@gmail.com; helo=mail-ed1-x535.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, SUBJ_LACKS_WORDS=1.572, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 01 Sep 2024 15:28:31 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323259 Archived-At: > Does the alternative change below solve your problem when attaching to > Emacs?? Sorry, I didn't notice this email before answering the other one. :) Yes, that would also solve my issue. The `if` check should be changed to a `while` loop, as `remove_w32_kbdhook` will just decrease the reference count if there's still more than one reference to the `kbdhook`. On the other hand, doesn't this require me to run `gdb` under Emacs's `src`? So, for others who want to try the pre-built version and get the debug backtrace, they will need to download the `gdbinit` file or clone the Emacs source code and run `gdb` from the `src` folder. That can be a bit of work, though.