From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63808: 30.0.50; Infinite loop in info-lookup-guess-gdb-script-symbol Date: Wed, 31 May 2023 17:52:54 +0300 Message-ID: <83pm6geent.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13999"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63808@debbugs.gnu.org To: nvp Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 31 16:53:24 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1q4NCV-0003Rp-84 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 May 2023 16:53:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4NCD-0008TI-Fj; Wed, 31 May 2023 10:53:05 -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 1q4NCB-0008SU-Fu for bug-gnu-emacs@gnu.org; Wed, 31 May 2023 10:53:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q4NCB-00008c-7Y for bug-gnu-emacs@gnu.org; Wed, 31 May 2023 10:53:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q4NCA-0002t1-3G for bug-gnu-emacs@gnu.org; Wed, 31 May 2023 10:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 May 2023 14:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63808 X-GNU-PR-Package: emacs Original-Received: via spool by 63808-submit@debbugs.gnu.org id=B63808.168554474011044 (code B ref 63808); Wed, 31 May 2023 14:53:02 +0000 Original-Received: (at 63808) by debbugs.gnu.org; 31 May 2023 14:52:20 +0000 Original-Received: from localhost ([127.0.0.1]:36173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4NBU-0002s4-HT for submit@debbugs.gnu.org; Wed, 31 May 2023 10:52:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4NBQ-0002rn-RL for 63808@debbugs.gnu.org; Wed, 31 May 2023 10:52:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4NBL-0008Ji-7F; Wed, 31 May 2023 10:52:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=7MtIUabe3ul6jB1J/H0UOYomnMRmhem9NPtkX9ETAPA=; b=Be8XUl9n/ih2 du/CwRFrV9c701MnrCZQRYrr2ecNWRI9p9W/E+sn8vXVsRpmHdRcsN7nVxiZZfDGpUpMk7msXckmE Ilk13BDkP+XsNApimbbMu5avafdJBN6HpQ2jXnoyEpo+rkaMics586SP7QpjIGrLsfXjrH5mRhbII 7oUExt9L1qeXQPVw2Rk7A1DLuU5jd1G41yRGK/CPi8Yoz4ANVEN8RfS4AiHhMrs2y6UufJydcU3cc kCtDeQKwb/IwpCD7AlzlcAksD+Goo9iNDTvi4vU0pO0ZsQDvI4SP+IPHoW1pM30eDJjaLqce43+nK d5Lhxlku5ZVOeUpGBce6gQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4NBJ-0006oF-Ok; Wed, 31 May 2023 10:52:10 -0400 In-Reply-To: (message from nvp on Tue, 30 May 2023 14:35:44 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262671 Archived-At: > From: nvp > Date: Tue, 30 May 2023 14:35:44 -0700 > > In a gdb-script-mode buffer, eg. .gdbinit with the cursor (|) in > the following position: > > de| > > Calling `M-x info-complete-symbol' causes an infinite loop. Thanks, should be fixed now on the emacs-29 branch. > In the > function `info-lookup-guess-gdb-script-symbol' the result > of `nbutlist' isn't being assigned back to variable. It doesn't have to, because nbutlast modifies its argument destructively (except when it doesn't ;-).