From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#66738: 30.0.50; Gud LLDB regressions Date: Wed, 25 Oct 2023 06:24:11 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15122"; mail-complaints-to="usenet@ciao.gmane.io" To: 66738@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 25 06:24:51 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 1qvVRr-0003oX-IX for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Oct 2023 06:24:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvVRc-000786-Et; Wed, 25 Oct 2023 00:24:36 -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 1qvVRZ-00077w-Ud for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 00:24:33 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvVRY-0006wT-Sq for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 00:24:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvVS2-0002IL-HU for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 00:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Oct 2023 04:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66738 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16982078958798 (code B ref -1); Wed, 25 Oct 2023 04:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Oct 2023 04:24:55 +0000 Original-Received: from localhost ([127.0.0.1]:57075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvVRu-0002Hq-RQ for submit@debbugs.gnu.org; Wed, 25 Oct 2023 00:24:55 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:58088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvVRt-0002HY-5r for submit@debbugs.gnu.org; Wed, 25 Oct 2023 00:24:53 -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 1qvVRJ-00074b-Ue for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 00:24:17 -0400 Original-Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvVRH-0006vn-2w for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 00:24:16 -0400 Original-Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9a6190af24aso816463966b.0 for ; Tue, 24 Oct 2023 21:24:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698207853; x=1698812653; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=WZWMqFGHSZwrG5jNAriHxmOkUB0aSRrFr38doVOVV5E=; b=DjHgfsH8zaOhH1yZ+45FTWpSL2YS+yjr6SiW/0Doo+/UJoUfGvaHevR+dUn/19xQJe qtV67Yx0xTNVt6OAlyj/XQcCJOUY/NZj3zVCCmfBnsM+mnaFir/KSfeW/FAb/RFaXhbM 4WHTX0NrBpJ54Pmj0taSmVPemz+KOkAFUr3jMglMlW+bODCNbnQ8oFvf4NL1Ur3jthbp e5TqIVYkDed3mpVu56UqtDObFWt/HZXKsPP313qEzBbaCRN8DDzcajIZsV3ZTk1hpLD2 aCl8brrU2iU9eYik+8AOFwuD3ZT/4HFGRsOIk0B7X94ygnX3G3NH7+qdguio7QFViHUF mP6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698207853; x=1698812653; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=WZWMqFGHSZwrG5jNAriHxmOkUB0aSRrFr38doVOVV5E=; b=hWx224psiVi8CVrTMDXHoZeW4OAXhksqsA6T0RVxeouOqzBFz9e3zKoqKD6DFWaryM kAwyuUY/G2xg5CDeEpPqxMm/lBN4oTWk+2CJ0BKhgXbELnHVqPEcaSrYpEqpmgOCQXSJ Iwd8a8oim9YsekN7LWPJ4csQEO0WDl6eBx/tqo6yqIkYo9TWzfaufY7YTy+EiG3AulW2 ZOQnn/XohFO8YR1pjokM5z/YuJhCv+56jYB5m4t36bzLv+kONYWVGAQMFtIL2rOH/zJG ueScGlsRJM2y5eJU4PsH2A9WkmQSfPU37PaOKHdvhLxkj+Bb9SuqoWctMSt3UM3tzBk3 TQWQ== X-Gm-Message-State: AOJu0YzNmJaa24zxFRQuVBF1MRY9NtjRFp8ysyfTx2VnrLsODs7QBsut yd7BDKfMsMP+EZWL+nLBnWyW0jQ3R1k= X-Google-Smtp-Source: AGHT+IFGPNK/Y5p2E0o4TPN4bdjAll2Bx3fv+7VVvqtQekt6LL97now/5r2xKnA8OsWnJbjWyMaGYg== X-Received: by 2002:a17:907:9487:b0:9bf:20e0:bfe9 with SMTP id dm7-20020a170907948700b009bf20e0bfe9mr12232772ejc.15.1698207853039; Tue, 24 Oct 2023 21:24:13 -0700 (PDT) Original-Received: from Pro.fritz.box (p4fe3a69d.dip0.t-ipconnect.de. [79.227.166.157]) by smtp.gmail.com with ESMTPSA id m1-20020a170906580100b009ae3e6c342asm9219095ejq.111.2023.10.24.21.24.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 21:24:12 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x631.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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 autolearn=ham autolearn_force=no X-Spam_action: no action 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:273145 Archived-At: This is with b36e2b1772680b8fce067c6ea2cdf582af982aaa on master. 1. M-x lldb RET leads to errors. *Messages* contains: error in process filter: gud-marker-filter: Text is read-only error in process filter: Text is read-only This seems to come from this code snippet in gud-lldb-marker-filter: (let ((bol (pos-bol))) (when (> (point) bol) ;; Move the current line to the string, so that control sequences ;; can delete parts of it. (setq string (concat (buffer-substring-no-properties bol (point)) string)) (delete-region bol (point)))) The comment sounds like this code is making wrong assumptions about what the process buffer contains when it runs. I think this can also be seen when binding inhibit-read-only around the delete-region. Anyway, I don't really know what it assumes. (I'd also find it "cleaner" if the code handling the control sequences could be moved to a function of its own.) 2. Nitpick: when extracting the file name in the filter function, with (group (+ (not (in "\n\r")))) ; 3: file this means that file names cannot contain LF and CR, which they actually can. I guess the only thing a file name definitely cannot contain is '/'. Don't care about Windows, TBH :-).